Go to the source code of this file.
 | 
| void *  | universal_speex_init (const char *fmt, int isDecoder, int samplerate, struct MppCodecFmtpInfoV1_2 *pCodecInfo) | 
|   | 
| int  | universal_speex_free (void *handle, int isDecoder) | 
|   | 
| int  | universal_speex_get_packet_samples (void *handle, const uint8_t *pPacketData, unsigned packetSize, unsigned *pNumSamples, const struct RtpHeader *pRtpHeader) | 
|   | 
| int  | universal_speex_decode (void *handle, const void *pCodedData, unsigned cbCodedPacketSize, void *pAudioBuffer, unsigned cbBufferSize, unsigned *pcbDecodedSize, const struct RtpHeader *pRtpHeader) | 
|   | 
| int  | universal_speex_encode (void *handle, const void *pAudioBuffer, unsigned cbAudioSamples, int *rSamplesConsumed, void *pCodedData, unsigned cbMaxCodedData, int *pcbCodedSize, unsigned *pbSendNow) | 
|   | 
      
        
          | void* universal_speex_init  | 
          ( | 
          const char *  | 
          fmt,  | 
        
        
           | 
           | 
          int  | 
          isDecoder,  | 
        
        
           | 
           | 
          int  | 
          samplerate,  | 
        
        
           | 
           | 
          struct MppCodecFmtpInfoV1_2 *  | 
          pCodecInfo  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | int universal_speex_free  | 
          ( | 
          void *  | 
          handle,  | 
        
        
           | 
           | 
          int  | 
          isDecoder  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | int universal_speex_get_packet_samples  | 
          ( | 
          void *  | 
          handle,  | 
        
        
           | 
           | 
          const uint8_t *  | 
          pPacketData,  | 
        
        
           | 
           | 
          unsigned  | 
          packetSize,  | 
        
        
           | 
           | 
          unsigned *  | 
          pNumSamples,  | 
        
        
           | 
           | 
          const struct RtpHeader *  | 
          pRtpHeader  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | int universal_speex_decode  | 
          ( | 
          void *  | 
          handle,  | 
        
        
           | 
           | 
          const void *  | 
          pCodedData,  | 
        
        
           | 
           | 
          unsigned  | 
          cbCodedPacketSize,  | 
        
        
           | 
           | 
          void *  | 
          pAudioBuffer,  | 
        
        
           | 
           | 
          unsigned  | 
          cbBufferSize,  | 
        
        
           | 
           | 
          unsigned *  | 
          pcbDecodedSize,  | 
        
        
           | 
           | 
          const struct RtpHeader *  | 
          pRtpHeader  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | int universal_speex_encode  | 
          ( | 
          void *  | 
          handle,  | 
        
        
           | 
           | 
          const void *  | 
          pAudioBuffer,  | 
        
        
           | 
           | 
          unsigned  | 
          cbAudioSamples,  | 
        
        
           | 
           | 
          int *  | 
          rSamplesConsumed,  | 
        
        
           | 
           | 
          void *  | 
          pCodedData,  | 
        
        
           | 
           | 
          unsigned  | 
          cbMaxCodedData,  | 
        
        
           | 
           | 
          int *  | 
          pcbCodedSize,  | 
        
        
           | 
           | 
          unsigned *  | 
          pbSendNow  | 
        
        
           | 
          ) | 
           |  |