sipxmedialib  Version 3.3
CodecL16.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2008 SIPez LLC.
3 // Licensed to SIPfoundry under a Contributor Agreement.
4 //
5 // Copyright (C) 2008 SIPfoundry Inc.
6 // Licensed by SIPfoundry under the LGPL license.
7 //
8 // $$
10 
11 // Author: Alexander Chemeris <Alexander DOT Chemeris AT sipez DOT com>
12 
13 #ifndef _CodecL16_h_ // [
14 #define _CodecL16_h_
15 
16 int sipxL16decode(const void* pCodedData, unsigned cbCodedPacketSize,
17  void* pAudioBuffer, unsigned cbBufferSize,
18  unsigned *pcbCodedSize);
19 
20 int sipxL16encode(const void* pAudioBuffer, unsigned cbAudioSamples,
21  int* rSamplesConsumed, void* pCodedData,
22  unsigned cbMaxCodedData, int* pcbCodedSize);
23 
24 #endif // _CodecL16_h_ ]
int sipxL16encode(const void *pAudioBuffer, unsigned cbAudioSamples, int *rSamplesConsumed, void *pCodedData, unsigned cbMaxCodedData, int *pcbCodedSize)
int sipxL16decode(const void *pCodedData, unsigned cbCodedPacketSize, void *pAudioBuffer, unsigned cbBufferSize, unsigned *pcbCodedSize)