Creative SB0350 Hardware Programming Guide - Page 126
Creative SB0350 Manual
View all Creative SB0350 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 126 highlights
B-2 File Format Creative Voice File (VOC) Format The Creative Voice File is organized in two main blocks, the Header Block and Data Block. The Header Block contains identifier, version number and pointer to the start of the Data Block. The Data Block is divided into sub-blocks of various types. The CT-VOICE driver only processes the Data Block. It is important that you pass the address of the Data Block and not the entire .VOC File when calling this driver to perform digitized sound output. Header Block Offset (Hex) 00H - 13H Description File type description. The following message is stored here: "Creative Voice File", 1AH 14H - 15H Offset of the Data Block from the start of .VOC file. This word points to the Data Block. It helps the application programs to locate the Data Block in case the size of Header Block is changed. For this version, the value here is 1A Hex. 16H - 17H .VOC file format version number. This version number allows your program to identify different organization formats of .VOC file in case of future enhancement. The low and high byte are the minor and major version number respectively. Current version is 1.20 (0114H).