Package 

Class G729Decoder

    • Method Summary

      Modifier and Type Method Description
      void decode(Array<byte> inputData, int inOffset, short length, Array<short> outputSample, int outOffset) Decode audio data
      void generatePLC(Array<short> outputSample, int outOffset) Decode audio data
      void close() Close the G729 decoder and free resources
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • G729Decoder

        G729Decoder()
      • G729Decoder

        G729Decoder(boolean useNativeG729)
    • Method Detail

      • decode

         void decode(Array<byte> inputData, int inOffset, short length, Array<short> outputSample, int outOffset)

        Decode audio data

        Parameters:
        inputData - Input encoded data
        inOffset - Offset in the input buffer
        length - Length of the encoded data
        outputSample - Output buffer for decoded audio (PCM)
        outOffset - the output buffer offset
      • generatePLC

         void generatePLC(Array<short> outputSample, int outOffset)

        Decode audio data

        Parameters:
        outputSample - Output buffer for decoded audio (PCM)
        outOffset - the output buffer offset
      • close

         void close()

        Close the G729 decoder and free resources