2.2.6.11 SoundHeader
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
wFormatTag |
nChannels |
||||||||||||||||||||||||||||||
|
nSamplesPerSec |
|||||||||||||||||||||||||||||||
|
nAvgBytesPerSec |
|||||||||||||||||||||||||||||||
|
nBlockAlign |
wBitsPerSample |
||||||||||||||||||||||||||||||
|
cbExtraData |
cbDataSize |
||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
wFormatTag (2 bytes): An unsigned 16-bit number. The waveform audio format type.
nChannels (2 bytes): An unsigned 16-bit number. The number of channels of audio data.
nSamplesPerSec (4 bytes): An unsigned 32-bit number. The sample frequency at which each channel can be played or recorded.
nAvgBytesPerSec (4 bytes): An unsigned 32-bit number. The required average data transfer rate in bytes per second.
nBlockAlign (2 bytes): An unsigned 16-bit number. The block alignment, in bytes.
wBitsPerSample (2 bytes): An unsigned 16-bit number. The number of bits per sample for the format type.
cbExtraData (2 bytes): An unsigned 16-bit number.
cbDataSize (4 bytes): An unsigned 32-bit number. The sound data size, in bytes.