Class/Object

za.co.monadic.scopus.opus

OpusDecoderFloat

Related Docs: object OpusDecoderFloat | package opus

Permalink

class OpusDecoderFloat extends DecoderFloat with OpusBase

Specialisation for Float data return

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OpusDecoderFloat
  2. OpusBase
  3. DecoderFloat
  4. Decoder
  5. Codec
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OpusDecoderFloat(fs: SampleFrequency, channels: Int)

    Permalink

    fs

    The sampling frequency required

    channels

    Number of audio channels required. Must be 1 or 2.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(count: Int): Try[Array[Float]]

    Permalink

    Decode an erased (i.e.

    Decode an erased (i.e. not received) audio packet. Note you need to specify how many samples you think you have lost so the decoder can attempt to deal with the erasure appropriately.

    returns

    A Try containing decompressed audio in Float format

    Definition Classes
    OpusDecoderFloatDecoderFloat
  5. def apply(compressedAudio: Array[Byte]): Try[Array[Float]]

    Permalink

    Decode an audio packet to an array of Floats

    Decode an audio packet to an array of Floats

    compressedAudio

    The incoming audio packet

    returns

    A Try containing the decoded audio packet in Float format

    Definition Classes
    OpusDecoderFloatDecoderFloat
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val bufferLen: Int

    Permalink
    Definition Classes
    OpusBase
  8. val channels: Int

    Permalink

    Number of audio channels required.

    Number of audio channels required. Must be 1 or 2.

    Definition Classes
    OpusDecoderFloatOpusBaseDecoder
  9. var clean: Boolean

    Permalink
    Definition Classes
    OpusBase
  10. def cleanup(): Unit

    Permalink

    Release all pointers allocated for the decoder.

    Release all pointers allocated for the decoder. Make every attempt to call this when you are done with the encoder as finalise() is what it is in the JVM

    Definition Classes
    OpusBase
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val decodedBuf: Array[Float]

    Permalink
  13. val decoder: Long

    Permalink
    Definition Classes
    OpusBase
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. val error: Array[Int]

    Permalink
    Definition Classes
    OpusBase
  17. var fec: Int

    Permalink
    Definition Classes
    OpusBase
  18. final def finalize(): Unit

    Permalink
    Definition Classes
    Codec → AnyRef
  19. val fs: SampleFrequency

    Permalink

    The sampling frequency required

    The sampling frequency required

    Definition Classes
    OpusDecoderFloatOpusBaseDecoder
  20. def getBandwidth: Int

    Permalink
    Definition Classes
    OpusBase
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getDetail: String

    Permalink

    returns

    A discription of this instance of an encoder or decoder

    Definition Classes
    OpusDecoderFloatCodec
  23. def getFec(useFec: Boolean): Boolean

    Permalink

    Returns the current FEC decoding status.

    Returns the current FEC decoding status.

    returns

    True if FEC is being decoded

    Definition Classes
    OpusBase
  24. def getGain: Int

    Permalink
    Definition Classes
    OpusBase
  25. def getLastPacketDuration: Int

    Permalink
    Definition Classes
    OpusBase
  26. def getLookAhead: Int

    Permalink
    Definition Classes
    OpusBase
  27. def getPitch: Int

    Permalink
    Definition Classes
    OpusBase
  28. def getSampleRate: Int

    Permalink
    Definition Classes
    OpusBase
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. def isDTX(audio: Array[Byte]): Boolean

    Permalink

    Test if the packet is an Opus DTX (silent) packet

    Test if the packet is an Opus DTX (silent) packet

    audio

    Opus compressed packet

    returns

    True if it is a DTX packet

    Definition Classes
    OpusDecoderFloatCodec
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def reset: Int

    Permalink
    Definition Classes
    OpusBase
  36. def setFec(useFec: Boolean): Unit

    Permalink

    Custom setter for the FEC mode in the decoder

    Custom setter for the FEC mode in the decoder

    useFec

    If true, employ error correction if it is available in the packet

    Definition Classes
    OpusBase
  37. def setGain(gain: Int): Unit

    Permalink
    Definition Classes
    OpusBase
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from OpusBase

Inherited from DecoderFloat

Inherited from Decoder

Inherited from Codec

Inherited from AnyRef

Inherited from Any

Ungrouped