AUDIO_BANDWIDTH

 

The AUDIO_BANDWIDTH enumeration defines values that are used to represent different audio formats and rate combinations. All data types represent 20Ms sample block sizes unless otherwise noted.

 

 

typedef enum

{

AUDIO_BW_ULAW_8K = 0,
AUDIO_BW_ALAW_8K,
AUDIO_BW_G729,
AUDIO_BW_G729A,
AUDIO_BW_ILBC_20MS,

AUDIO_BW_ILBC_30MS,
AUDIO_BW_SPEEX_NARROW_BAND_8K,

AUDIO_BW_SPEEX_WIDE_BAND_16K,

AUDIO_BW_PCM_8K,

AUDIO_BW_PCM_11K,

AUDIO_BW_PCM_22K,

AUDIO_BW_UNDEFINED

 

}AUDIO_BANDWIDTH;

 

 

 

Members:

 

AUDIO_BW_ULAW_8K

Specifies that the audio data is 8000Hz 8bit uLaw samples (G711u). 20Ms block size.

 

AUDIO_BW_ALAW_8K

Specifies that the audio data is 8000Hz 8bit aLaw samples (G711a). 20Ms block size.

 

AUDIO_BW_G729

Specifies that the audio data is 8000Hz G729 samples. 20Ms block size.

 

AUDIO_BW_G729A

Specifies that the audio data is 8000Hz G729A samples. 20Ms block size.

 

AUDIO_BW_ILBC_20MS

Specifies that the audio data is 8000Hz iLBC samples. 20Ms block size.

 

AUDIO_BW_ILBC_30MS

Specifies that the audio data is 8000Hz iLBC samples. 30Ms block size.

 

AUDIO_BW_SPEEX_NARROW_BAND_8K

Specifies that the audio data is 8000Hz Speex samples. 20Ms block size. See also: SetSpeexCodecParameters

 

AUDIO_BW_SPEEX_WIDE_BAND_16K

Specifies that the audio data is 16000Hz Speex samples. 20Ms block size. See also: SetSpeexCodecParameters

 

AUDIO_BW_PCM_8k

Specifies that the audio data is 8000Hz 16bit PCM samples. 20Ms block size.

 

AUDIO_BW_PCM_11k

Specifies that the audio data is 11025Hz 16bit PCM samples. 20Ms block size.

 

AUDIO_BW_PCM_22k

Specifies that the audio data is 22050Hz 16bit PCM samples. 20Ms block size.

 

AUDIO_BW_UNDEFINED

The audio data format and rate are undefined.