File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
docs/HitmanBloodMoney/Formats Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -99,29 +99,28 @@ struct STR_Header
9999 uint32_t unk28 [0x100 - 0x28 ] = {};
100100};
101101
102- // unknown difference between ADPCM1 and ADPCM2 for now
103102enum STR_EntryHeaderFormat
104103{
105104 PCM_S16 = 0x02 ,
105+ ADPCM = 0x03 ,
106106 VORBIS = 0x04 ,
107- ADPCM1 = 0x03 ,
108- ADPCM2 = 0x11 ,
107+ ALIASED_MASTER = 0x11
109108}
110109
111110// BEWARE this is really 3 different headers, as there is no padding... didn't know how to name things so left it like this for now..
112111struct STR_EntryHeader
113112{
114- // PCM_S16, VORBIS, ADPCM1 and ADPCM2 have following bytes
113+ // PCM_S16, ADPCM, VORBIS and ALIASED_MASTER have following bytes
115114 uint32_t headerFormat ; // always one of enum STR_EntryHeaderFormat options
116115 uint32_t samplesCount ; // samples count
117116 uint32_t channels ; // number of channels
118117 uint32_t sampleRate ; // sample rate
119118 uint32_t bitsPerSample ; // bits per sample
120119
121- // all PCM_S16, ADPCM1 and ADPCM2 have following bytes on top
120+ // all PCM_S16, ADPCM and ALIASED_MASTER have following bytes on top
122121 uint32_t blockAlign ; // block alignment
123122
124- // all ADPCM1 and ADPCM2 have following bytes on top
123+ // all ADPCM have following bytes on top
125124 uint32_t samplesPerBlock ; // samples per block
126125}
127126
You can’t perform that action at this time.
0 commit comments