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
bBlockID;
// == 5
BYTE
nBlockLen[3];
// 3-byte block length
BYTE
szString[];
// 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
bBlockID;
// == 6
BYTE
nBlockLen[3];
// 3-byte block length
WORD
wRepeatTimes