MEDIA_FORMAT_AUDIO

 

The MEDIA_FORMAT_AUDIO enumeration is used to specify format and rate of audio sampled data.

 

 

typedef enum

{

Media_Format_uLaw8k = 0,

Media_Format_aLaw8k,

Media_Format_G729,

Media_Format_G729A,

Media_Format_iLBC_20Ms,

Media_Format_iLBC_30Ms,
Media_Format_SpeexNarrowBand8k,

Media_Format_SpeexWideBand16k,

Media_Format_Pcm8000,

Media_Format_Pcm11050,

Media_Format_Pcm22050,

Media_Format_Undefined

 

}MEDIA_FORMAT_AUDIO;

 

 

 

Members:

 

 

Media_Format_uLaw8k

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

 

Media_Format_aLaw8k

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

 

Media_Format_G729

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

 

Media_Format_G729A

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

 

Media_Format_iLBC_20Ms

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

 

Media_Format_iLBC_30Ms

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

 

Media_Format_SpeexNarrowBand8k

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

 

Media_Format_SpeexWideBand16k

Specifies that the audio data is 16000Hz Speex samples. 20Ms block size.

 

Media_Format_Pcm8000

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

 

Media_Media_Format_Pcm11050

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

 

Media_Format_Pcm22050

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

 

Media_Format_Undefined

The audio data format and rate are undefined.