You are here: CSP Developer’s Guide: Overview > 8 DSP Series 2 Cards Product Description > VIF Format

VIF Format

Table 8-4 Vocabulary Index File Format

Element Number | Element Name | Description
--- | --- | ---
1 | File ID | A unique number that is used when playing a file out. Valid Range: 0 <= file ID < 0x00100000
2 | Primary Server ID | The Primary server where the file is stored
3 | Secondary Server ID | The Secondary server where the file is stored
4 | File Name | The File Name including the full path (up to 128 Chars)
5 | File Type | See the 0x05E1 File Format TLV for values.
6 | File Encoding
7 | Timestamp | Date/Time: mm/dd/yyyy hr:min
8 | Offset | The offset in bytes where the file is to play from
9 | Length | The number of bytes to be played

Example

The following is an example of a Vocabulary Index File. Note that some, but not all, of the files include the last two fields (Offset and Length)

100 1 2 /F-0289_Playback_by_File_Offset/count1-30.raw.ulaw 0 1 10/09/2003 15:52 1473 9330

101 1 2 /F-0289_Playback_by_File_Offset/count1-30.raw.ulaw 0 1 10/09/2003 15:52 10803 7856

102 1 2 /F-0289_Playback_by_File_Offset/count1-30.raw.ulaw 0 1 10/09/2003 15:52 18659 7856

103 1 2 /F-0289_Playback_by_File_Offset/count1-30.raw.ulaw 0 1 10/09/2003 15:52 26515 8348

104 1 2 /F-0289_Playback_by_File_Offset/count1-30.raw.ulaw 0 1 10/09/2003 15:52

105 1 2 /F-0289_Playback_by_File_Offset/count1-30.raw.ulaw 0 1 10/09/2003 15:52 44192 9330

106 1 2 /F-0289_Playback_by_File_Offset/count1-30.raw.ulaw 0 1 10/09/2003 15:52

107 1 2 /F-0289_Playback_by_File_Offset/count1-30.raw.ulaw 0 1 10/09/2003 15:52 61869 9329

108 1 2 /F-0289_Playback_by_File_Offset/count1-30.raw.ulaw 0 1 10/09/2003 15:52 71198 8348

109 1 2 /F-0289_Playback_by_File_Offset/count1-30.raw.ulaw 0 1 10/09/2003 15:52 79546 7365

Tag-Length-Value block. A standardized block that allows data to inserted in a standard way into API messages.