Creative SB0350 Hardware Programming Guide - Page 135

Creative SB0350 Manual

Page 135 highlights

File Format B-11 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 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 Some other points to note: 1. This is a new Block Type introduced on .VOC file with version number 1.20 and above. 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. 2.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141

File Format
B-11
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
Meaning
0x0000
8-bit unsigned PCM
0x0001
Creative 8-bit to 4-bit ADPCM
0x0002
Creative 8-bit to 3-bit ADPCM
0x0003
Creative 8-bit to 2-bit ADPCM
0x0004
16-bit signed PCM
0x0006
CCITT a-Law
0x0007
CCITT
μ
-Law
0x0200
Creative 16-bit to 4-bit ADPCM
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.