0x05E1 File Format

Use this TLV to specify the file format and encoding format for recorded voice files for file IDs of 0x00100000 or higher in the Play File Start message and in the Record File Start message.

Also use this TLV in the DSP Cache Modify message when the Action field is set to Copy (the Encoding Format field is ignored; the encoding format of the file copy will always be the same format as the original file).

Byte

Description

0, 1

Tag: 0x05E1 File Format

2, 3

Length: 0x0002

4

Value[0: File Format

0x00 - Raw (packed raw binary data)

0x01 - .wav

5

Value[1]: Encoding Format

Raw

0x00 - G.711 A-law

0x01 - G.711 µ-law

0x02 - G.726 32 Kbps ADPCM

0x03 - 32 Kbps OKI ADPCM (Dialogic)

0x04 - 24 Kbps OKI ADPCM (Dialogic)

 

.wav

0x00 - G.711 A-law

0x05 - 16-bit linear, 11025 Khz mono

0x08 - 8-bit linear, 11025 Khz mono

(NOTE: The .wav format is derived from actual file)