aboutsummaryrefslogtreecommitdiff
path: root/sound/wave.cpp
AgeCommit message (Collapse)Author
2010-01-16Switch most AudioStream factories to use DisposeAfterUse::FlagMax Horn
svn-id: r47334
2010-01-10- Add a SubLoopingAudioStream, which loops a nested part of a stream and ↵Johannes Schickel
thus features the same looping capabilites as LinearMemoryStream and LinearDiskStream. - Remove custom looping code from LinearMemoryStream and LinearDiskStream. - Adapt various client code to the changes. svn-id: r47226
2010-01-07Make makeWAVStream return a RewindableAudioStream.Johannes Schickel
svn-id: r47129
2010-01-07Create a wrapper makeLoopingAudioStream to reduce code duplcation.Johannes Schickel
svn-id: r47128
2010-01-07Let ADPCM streams subclass RewindableAudioStreams and thus allow them to be ↵Johannes Schickel
looped with the new looping code. svn-id: r47127
2009-10-14Patch #2834677: Wave/ADPCM Endianness FixesMax Horn
svn-id: r45095
2009-05-18Fix crash when any movie is played in the Macintosh version of The Feebles ↵Travis Howell
Files, a regression caused by revision 36085. svn-id: r40679
2009-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2009-01-27Fix regression, the original stream shouldn't be deleted, unless ↵Travis Howell
disposeAfterUse is set. svn-id: r36092
2009-01-27Fix regression, the original stream shouldn't be deleted.Travis Howell
svn-id: r36091
2009-01-27Extended makeWAVStream by a 'disposeAfterUse' param; changed makeWAVStream ↵Max Horn
to directly return the AudioStream created by makeADPCMStream svn-id: r36085
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
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-03-02Changed the order of the parameters of makeLinearInputStream to resemble ↵Max Horn
Mixer::playRaw; also made makeLinearInputStream honor FLAG_LOOP (and for this, changed its loop related params slightly) svn-id: r25926
2006-05-24Fix compressed sound in makeWAVStream()Travis Howell
svn-id: r22596
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
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-19Updated/added some comments on VOC/WAVE functionsMax Horn
svn-id: r21384
2006-03-19Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStreamTravis Howell
svn-id: r21376
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-27Fix memory leak, if called directly.Travis Howell
svn-id: r20199
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-11-13Revert as requested.Travis Howell
svn-id: r19582
2005-11-11Fix sound looping regression in simon2 (Windows).Travis Howell
Sound flags were been reset. svn-id: r19557
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-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-05-10Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' ↵Max Horn
because we already have many classes with that name) svn-id: r18039
2005-05-04Switch link to web page with more detailed information on compression types.Travis Howell
svn-id: r17905
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-01-1116-bit WAVs are little-endian.Torbjörn Andersson
svn-id: r16539
2005-01-09Fix legal headerMax Horn
svn-id: r16506
2005-01-09Added shared code to load WAV(E) data from arbitrary seekable streams (files ↵Max Horn
or memory) svn-id: r16502