mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fix (disabled) Wavelet sound decompression
The first chunk of Wavelet sound was decoded as ADPCM and then following chunks were decoded as Wavelet. It played as static noise. Using Wavelet compression requires engine code changes to enable.
This commit is contained in:
parent
84da6537c4
commit
70d07d91d6
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ void S_PaintChannelFromWavelet( channel_t *ch, sfx_t *sc, int count, int sampleO
|
|||
}
|
||||
|
||||
if (i!=sfxScratchIndex || sfxScratchPointer != sc) {
|
||||
S_AdpcmGetSamples( chunk, sfxScratchBuffer );
|
||||
decodeWavelet(chunk, sfxScratchBuffer);
|
||||
sfxScratchIndex = i;
|
||||
sfxScratchPointer = sc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue