diff options
author | D G Turner | 2012-08-04 18:38:12 +0100 |
---|---|---|
committer | D G Turner | 2012-08-04 18:38:12 +0100 |
commit | 9c47fdae293e05888d3b4ec45fd4b374d1022c0b (patch) | |
tree | bdb4a3a93598938bd702ba1a8be17a500b61d808 /audio/decoders/adpcm_intern.h | |
parent | b79221729bd06a737bf140bf7cb5c0ff2a578681 (diff) | |
download | scummvm-rg350-9c47fdae293e05888d3b4ec45fd4b374d1022c0b.tar.gz scummvm-rg350-9c47fdae293e05888d3b4ec45fd4b374d1022c0b.tar.bz2 scummvm-rg350-9c47fdae293e05888d3b4ec45fd4b374d1022c0b.zip |
AUDIO: Fix Oki ADPCM to work with Mono streams using odd sized buffers.
Diffstat (limited to 'audio/decoders/adpcm_intern.h')
-rw-r--r-- | audio/decoders/adpcm_intern.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/decoders/adpcm_intern.h b/audio/decoders/adpcm_intern.h index 537ae023ef..423c4af267 100644 --- a/audio/decoders/adpcm_intern.h +++ b/audio/decoders/adpcm_intern.h @@ -89,6 +89,10 @@ public: protected: int16 decodeOKI(byte); + +private: + uint8 _decodedSampleCount; + int16 _decodedSamples[2]; }; class Ima_ADPCMStream : public ADPCMStream { |