Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 521
input/output transfer parameter block — DX_XPB
DATA_FORMAT_GSM610_MICROSOFT – GSM 6.10 full-rate coder (Microsoft
Windows compatible format) (Microsoft Windows Media Recorder Audio Compression
Codec: GSM 6.10 Audio CODEC)
DATA_FORMAT_GSM610_TIPHON – GSM 6.10 VOX full-rate coder (TIPHON
format)
DATA_FORMAT_IMA_ADPCM – IMA ADPCM coder (IMA is an acronym for
Interactive Multimedia Association)
On Springware boards, use one of the following data formats:
DATA_FORMAT_DIALOGIC_ADPCM – 4-bit OKI ADPCM (Dialogic registered
format)
DATA_FORMAT_MULAW – 8-bit mu-law PCM
DATA_FORMAT_ALAW – 8-bit A-law PCM
DATA_FORMAT_PCM – 8-bit linear PCM
DATA_FORMAT_G726 – G.726 bit-exact coder
DATA_FORMAT_GSM610_MICROSOFT – GSM 6.10 full-rate coder (Microsoft
Windows compatible format) (Microsoft Windows Media Recorder Audio Compression
Codec: GSM 6.10 Audio CODEC)
DATA_FORMAT_GSM610_TIPHON – GSM 6.10 VOX full-rate coder (TIPHON
format)
nSamplesPerSec
Specifies one of the following sampling rates:
DRT_6KHZ – 6 kHz sampling rate
DRT_8KHZ – 8 kHz sampling rate
DRT_11KHZ – 11 kHz sampling rate. Note: 11 kHz OKI ADPCM is not supported.
wBitsPerSample
Specifies the number of bits per sample.
On DM3 boards, this number varies with the data format. For more information, refer to the
Examples section next.
On Springware boards, set to 8 for mu-law, A-law, and linear PCM. Set to 4 for ADPCM. For
G.726 and GSM, refer to the Examples section next.
!
!!
! Examples (DM3)
Table 17 through Table 24 provide examples of how to fill the DX_XPB structure for various voice
coders on DM3 boards.
Table 17. G.711 Voice Coder Support Fields (DM3)
DX_XPB Field DX_XPB Field Value Note
wFileFormat FILE_FORMAT_WAV or
FILE_FORMAT_VOX
wDataFormat DATA_FORMAT_G711_ALAW or
DATA_FORMAT_ALAW
DATA_FORMAT_G711_MULAW or
DATA_FORMAT_MULAW
nSamplesPerSec DRT_6KHZ or
DRT_8KHZ
wBitsPerSample 8 48 or 64 kbps