Creative SB0350 Programming Manual page 130

Hardware programming guide
Table of Contents

Advertisement

B-6
File Format
Here is a discussion of various fields:
Block Type 4
This is a special block that specifies a Marker in the digitized sound data. The
Block Header is organized as follows:
Here is a discussion of various fields:
bBlockID
The Block Type identifier is 3.
nBlockLen
Length of the block (in bytes), excluding the bBlockID and nBlockLen
fields.
The value is 3.
wPausePeriod
This is a 2-byte field which specifies the pause period in units of
sampling cycles. Total pause cycle is wPausePeriod plus 1.
bTimeConstant
This is a 1-byte field which indicates the Time Constant of the pause
period. The Time Constant calculation is the same as described in Block
Type 1.
BYTE
bBlockID;
BYTE
nBlockLen[3];
WORD
wMarker;
bBlockID
The Block Type identifier is 4.
nBlockLen
Length of the block (in bytes), excluding the bBlockID and nBlockLen
fields.
The value is 2.
wMarker
This is a 2-byte field which specifies the marker value. The marker value
can be any value between 1 to 0FFFE hex inclusive. The 0 and 0FFFF
hex values are reserved by the digitized sound drivers.
// == 4
// 3-byte block length
// marker value

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents