aboutsummaryrefslogtreecommitdiff
path: root/sound/adpcm.cpp
AgeCommit message (Collapse)Author
2009-12-30Fix bug #2923380 (AMIGAOS4: Compiler error)Jordi Vilalta Prat
svn-id: r46753
2009-12-29Add Mohawk engine code. Part 2/3: common code changes.Eugene Sandulenko
svn-id: r46728
2009-10-14Patch #2834677: Wave/ADPCM Endianness FixesMax Horn
svn-id: r45095
2009-08-11Fixed an endian bug in the ADPCM decoder (#2211901).Andre Heider
svn-id: r43287
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-03-17Do not use TO_LE_16 for the IMA ADPCM decoder as it breaks sound on BE systems.Matthew Hoops
svn-id: r39465
2009-02-04make readBufferTinsel*() output in native endianness, rather than little endian.Joost Peters
svn-id: r36215
2009-02-01Fixed regression in the ADPCM decoder. DW2 music should be played correctly ↵Filippos Karapetis
again svn-id: r36195
2009-02-01Fixed incorrect usage of a boolean (boolean variables are not supposed to be ↵Filippos Karapetis
used as indexes to arrays...) svn-id: r36194
2009-01-27Remove leftover comments.Matthew Hoops
svn-id: r36098
2009-01-27Add support for looping ADPCM sounds. I'm also adding decoding of the ↵Matthew Hoops
"standard" IMA ADPCM code (aka Intel DVI ADPCM). This is from Mohawk. ;) svn-id: r36097
2009-01-27Add/Update comments.Travis Howell
svn-id: r36094
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-12-02Apparently, constraining the number of mixing samples to be divisible by 4 ↵Sven Hesse
is too strict, so I'm changing readBufferTinsel6() around a bit to allow for any number of samples (at the cost of adding 2 variables and a bit complexity ;)) svn-id: r35209
2008-11-17Fixed a warning on the DS build, added some clarifying comments, reformatted ↵Max Horn
the okiStepSize and imaStepTable tables (the former really is a subtable of the latter) svn-id: r35106
2008-11-15Added support for the ADPCM used in Discworld 2Sven Hesse
svn-id: r35089
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-02-03Added template param to CLIP since implicit cast is not working 100% on all ↵Lars Persson
platforms. Target type is int32 so used that. svn-id: r30760
2008-02-02Corrected an off-by-one error introduced with the latest cleanupsFilippos Karapetis
svn-id: r30743
2008-02-02CleanupFilippos Karapetis
svn-id: r30738
2007-12-01Slight cleanup and commenting of the ADPCM decoderFilippos Karapetis
svn-id: r29682
2007-11-16Changed Audio::makeADPCMStream so that the stream passed to it can ↵Max Horn
automatically be disposed svn-id: r29517
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-25Removing lots of superfluous semicola (see mail by David Weinehall on ↵Max Horn
scummvm-devel) svn-id: r26594
2006-09-21Fix bug #1501302: "FF: Crackling Audio (Mac version)"Eugene Sandulenko
svn-id: r23970
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