Creative SB0350 Programming Manual page 135

Hardware programming guide
Table of Contents

Advertisement

nBlockLen
Length of the block (in bytes), excluding the bBlockID and nBlockLen
fields.
The value will be the digitized sound data length plus 12.
dwSamplesPerSec
This is the actual sampling frequency, not a Time Constant. There is no
need to double the value when dealing with stereo I/O (unlike in Block
Type 8).
bBitsPerSample
Actual number of bits per sample after compression (if any).
bChannels
This is 1 for mono or 2 for stereo.
wFormat
The currently supported formats are:
Value
0x0000
0x0001
0x0002
0x0003
0x0004
0x0006
0x0007
0x0200
Some other points to note:
1.
This is a new Block Type introduced on .VOC file with version number 1.20
and above.
2.
It is intended that this Block Type supersedes Block Types 1 and 8. That is,
the new drivers will produce BlockType 9 blocks on recording.
Meaning
8-bit unsigned PCM
Creative 8-bit to 4-bit ADPCM
Creative 8-bit to 3-bit ADPCM
Creative 8-bit to 2-bit ADPCM
16-bit signed PCM
CCITT a-Law
CCITT -Law
Creative 16-bit to 4-bit ADPCM
File Format
B-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents