Fri Mar 7 07:00:00 CET 2003

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@634 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matteo Brancaleoni
2003-03-07 06:00:13 +00:00
parent a8723ad68f
commit f2c4538f61
13 changed files with 419 additions and 25 deletions

View File

@@ -2,7 +2,9 @@
#define GSM_MAGIC 0xD
#ifndef GSM_H
typedef unsigned char gsm_byte;
#endif
typedef unsigned char wav_byte;
typedef unsigned int uword;
@@ -109,7 +111,7 @@ typedef unsigned int uword;
xmc[51] = *c & 0x7; /* 33 */ \
}
static void conv66(gsm_byte * d, wav_byte * c) {
static inline void conv66(gsm_byte * d, wav_byte * c) {
gsm_byte frame_chain;
unsigned int sr;
unsigned int LARc[8], Nc[4], Mc[4], bc[4], xmaxc[4], xmc[13*4];
@@ -450,7 +452,7 @@ static void conv66(gsm_byte * d, wav_byte * c) {
| (xmc[51] & 0x7); \
}
static void conv65( wav_byte * c, gsm_byte * d){
static inline void conv65( wav_byte * c, gsm_byte * d){
unsigned int sr = 0;
unsigned int frame_chain;