フィールド | 型 | コメント |
AdpcmCodeSize |
UB[2] 0 = 2 bits/sample 1 = 3 bits/sample 2 = 4 bits/sample 3 = 5 bits/sample |
Bits per ADPCM code less 2. The actual size of each code is AdpcmCodeSize + 2. |
AdpcmPackets |
If SoundType = mono, ADPCMMONOPACKET [one or more] If SoundType = stereo, ADPCMSTEREOPACKET [one or more] |
Array of ADPCMPACKETs. |
フィールド | 型 | コメント |
InitialSample | SI16 |
First sample. Identical to first sample in uncompressed sound. |
InitialIndex | UB[6] |
Initial index into the ADPCM StepSizeTable. |
AdpcmCodeData |
UB[4095 * (AdpcmCodeSize+2)] |
4095 ADPCM codes. Each sample is (AdpcmCodeSize + 2) bits. |
フィールド | 型 | コメント |
InitialSampleLeft | SI16 |
First sample for left channel. Identical to first sample in uncompressed sound. |
InitialIndexLeft | UB[6] |
Initial index into the ADPCM StepSizeTable* for left channel. |
InitialSampleRight | SI16 |
First sample for right channel. Identical to first sample in uncompressed sound. |
InitialIndexRight | UB[6] |
Initial index into the ADPCM StepSizeTable* for right channel |
AdpcmCodeData | UB[8190 * (AdpcmCodeSize+2)] |
4095 ADPCM codes per channel, total 8190. Each sample is (AdpcmCodeSize + 2) bits. Channel data is interleaved left, then right. |