za.co.monadic.scopus.opus

OpusDecoderFloat

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    fs

    The sampling frequency required

    channels

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

Value Members

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

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

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

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

    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]]

    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

    Definition Classes
    Any
  7. val bufferLen: Int

    Definition Classes
    OpusBase
  8. val channels: Int

    Number of audio channels required.

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

    Definition Classes
    OpusDecoderFloatOpusBaseDecoder
  9. var clean: Boolean

    Definition Classes
    OpusBase
  10. def cleanup(): Unit

    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

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

  13. val decoder: Long

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

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

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

    Definition Classes
    OpusBase
  17. var fec: Int

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

    Definition Classes
    Codec → AnyRef
  19. val fs: SampleFrequency

    The sampling frequency required

    The sampling frequency required

    Definition Classes
    OpusDecoderFloatOpusBaseDecoder
  20. def getBandwidth: Int

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

    Definition Classes
    AnyRef → Any
  22. def getDetail: String

    returns

    A discription of this instance of an encoder or decoder

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

    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

    Definition Classes
    OpusBase
  25. def getLastPacketDuration: Int

    Definition Classes
    OpusBase
  26. def getLookAhead: Int

    Definition Classes
    OpusBase
  27. def getPitch: Int

    Definition Classes
    OpusBase
  28. def getSampleRate: Int

    Definition Classes
    OpusBase
  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. def reset: Int

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

    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
  36. def setGain(gain: Int): Unit

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

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from OpusBase

Inherited from DecoderFloat

Inherited from Decoder

Inherited from Codec

Inherited from AnyRef

Inherited from Any

Ungrouped