Creative SB0350 Programming Manual page 129

Hardware programming guide
Table of Contents

Advertisement

Some points to note for Block Type 1:
1.
If this block is preceded by Block Type 8 (discussed later), the digitized
sound attributes on Block Type 8 should be used. The digitized sound
attributes in this block should be ignored.
2.
If this block is alone, the digitized sound channels should be defaulted to
mono.
Block Type 2
This is a digitized sound continuation block. The Block Header is organized as
follows:
BYTE
bBlockID;
BYTE
nBlockLen[3];
The header is followed immediately by the digitized sound data.
Here is a discussion of various fields:
bBlockID
The Block Type identifier is 2.
nBlockLen
Length of the block (in bytes), excluding the bBlockID and nBlockLen
fields.
This block type will only be used when the digitized sound data size exceeds the 3-byte
block length (16 megabytes).
Block Type 3
This block specifies the pause period for the digitized sound before next block of
digitized sound data is transferred. The Block Header is organized as follows:
BYTE
bBlockID;
BYTE
nBlockLen[3];
WORD
wPausePeriod;
BYTE
bTimeConstant;
File Format
// == 2
// 3-byte block length
// == 3
// 3-byte block length
B-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents