Creative SB0350 Hardware Programming Guide - Page 131
Creative SB0350 Manual
View all Creative SB0350 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 131 highlights
File Format B-7 During digitized sound output, the CT-VOICE and CTVDSK drivers update the digitized sound status word with this value when the marker is encountered. You program can check for the desired marker value to perform synchronization with the digitized sound output process. Block Type 5 This block enables you to embed a null-terminated ASCII string in the .VOC file. The Block Header is organized as follows: BYTE BYTE BYTE bBlockID; nBlockLen[3]; szString[]; // == 5 // 3-byte block length // Null-terminated string Here is a discussion of various fields: bBlockID The Block Type identifier is 5. nBlockLen Length of the block (in bytes), excluding the bBlockID and nBlockLen fields. The value is the length of the null-terminated ASCII string (null inclusive). szString This is variable length field which specifies a null-terminated ASCII string. The length of this field is the string length (null inclusive). This field is for a program that requires ASCII information on the .VOC file such as name, type or remarks. You may choose to ignore this Block Type during the digitized sound block manipulation. Block Type 6 This block indicates the beginning of a repeat loop. The data block between this block and the next End Repeat Block (Block Type 7) will be repeated. The Block Header is organized as follows: BYTE BYTE WORD bBlockID; nBlockLen[3]; wRepeatTimes // == 6 // 3-byte block length