Creative SB0350 Hardware Programming Guide - Page 130
Creative SB0350 Manual
View all Creative SB0350 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 130 highlights
B-6 File Format 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. Block Type 4 This is a special block that specifies a Marker in the digitized sound data. The Block Header is organized as follows: BYTE BYTE WORD bBlockID; nBlockLen[3]; wMarker; // == 4 // 3-byte block length // marker value Here is a discussion of various fields: 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.