aboutsummaryrefslogtreecommitdiff
path: root/sound/adpcm.cpp
AgeCommit message (Collapse)Author
2006-05-31Clip samp to 2047, not 2048, so that it stays positive when multiplied by 16.Torbjörn Andersson
This seems to fix sound distortion in the Inherit the Earth demo. svn-id: r22812
2006-05-23Cleanup.Torbjörn Andersson
svn-id: r22573
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-04-22Fix valgrind warningTravis Howell
svn-id: r22082
2006-04-22- Implemented MS ADPCM WAV format decoder used in Feeble Files. Still it isEugene Sandulenko
out of sync with video. See TODO there. - Fixed bug with MS IMA ADPCM mono to make it possible to work in real streams. svn-id: r22080
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-03Hiding the implementation of ADPCMInputStream from the public, in favor of a ↵Max Horn
factory function (just like with the other AudioStream subclasses) svn-id: r21043
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20515
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-12-11Simplify ADPCM IMA decoding (based on IMA docs). The result will only be ↵Max Horn
99.9% identical, but the code should be faster on most modern machines svn-id: r19777
2005-12-09Unified IMA code a little bitMax Horn
svn-id: r19767
2005-12-09URL pointing to an IMA format referenceMax Horn
svn-id: r19766
2005-10-21Fix MS IMA ADPCM decoder. I like Microsoft so much for reinventing anotherEugene Sandulenko
standard. svn-id: r19203
2005-10-19Improved IMA ADPCM decoder. It appeared that MS violated yet another standardEugene Sandulenko
and nibbles order in samples appeared to be swapped. Had to untemplate whole thing over again because I have no idea how to speicalize one of two parameters in templates. Now voices are clean but have some ticks, looks like overload. ITE wasn't broken ;) svn-id: r19166
2005-10-19Simplified common buffer reader. Implemented now unused Microsoft IMAEugene Sandulenko
ADPCM buffer reader. These folks invented ye another incompatible standard and here it will sit #if 0'ed just for a case. svn-id: r19164
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-09-22Fix regression caused by recent code cleanup. Each input byte should beEugene Sandulenko
processed twice, so even if stream end is reached, there should be another iteration. Otherwise it always returned one byte less than expected. svn-id: r18859
2005-09-17Cleaned up the ADPCM codeMax Horn
svn-id: r18840
2005-06-24oops forgot this in my previous commitMax Horn
svn-id: r18457
2005-06-24Fixed Oki table entry; added doc URL; mention IMA ADPCMMax Horn
svn-id: r18456
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-05-08Comply to our coding conventionsMax Horn
svn-id: r17975
2005-05-03o Fixed ADPCM decoder length bugEugene Sandulenko
o Plugged IMA ADPCM into SCUMM engine so latter HE titles now have speech though it is somewhat noisy don't know why as decoder is based on ADPCM reference implementation. svn-id: r17904
2005-05-03Moved Oki ADPCM aka VOX decoder from SAGA engine to common sound/ directory.Eugene Sandulenko
Implemented IMA ADPCM decoder. svn-id: r17903