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 - vox 0x02 - wav |
5 |
Value[1]: Encoding Format (for raw, vox and wav file types) 0x00 - G.711 A-law PCM 0x01 - G.711 µ-law PCM 0x02 - G.726 32 Kbps ADPCM 0x03 - 32 Kbps OKI ADPCM (Dialogic) 0x04 - 24 Kbps OKI ADPCM (Dialogic) 0x05 - 11025 Hz 16-bit 0x06 - 11025 Hz µ-law 0x07 - 11025 Hz A-law 0x08 - 11025 Hz 8-bit (NOTE: The .wav format is derived from actual file)
|