aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2010-01-19Fixed some cppcheck warnings.Torbjörn Andersson
svn-id: r47393
2010-01-19Remove loop start/end params from Mixer::playRaw; convert some code from ↵Max Horn
Mixer::playRaw to Mixer::playInputStream svn-id: r47375
2010-01-19Get rid of Mixer::FLAG_REVERSE_STEREO; also change SCUMM's iMuse Digital ↵Max Horn
emulation to reverse stereo again, as it once seems to have been intended svn-id: r47374
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
2010-01-19Move raw audio streams to new header sound/raw.hMax Horn
svn-id: r47368
2010-01-19Rename 'Linear' audio streams to 'raw'Max Horn
svn-id: r47367
2010-01-17Fix SubSeekableAudioStream for stereo streams.Johannes Schickel
svn-id: r47352
2010-01-17Update debug message.Johannes Schickel
svn-id: r47351
2010-01-17Fix SubSeekableAudioStream regression from r47226 (i.e. length was ↵Johannes Schickel
calculated as start - end instead of end - start). svn-id: r47350
2010-01-16Switch most AudioStream factories to use DisposeAfterUse::FlagMax Horn
svn-id: r47334
2010-01-15Fix QueuingAudioStreamImpl::endOfStream implementation. This fixes cut off ↵Johannes Schickel
speech in COMI for me. svn-id: r47316
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2010-01-12Fix loop alignment checkWillem Jan Palenstijn
svn-id: r47264
2010-01-11Improve support for negative Timestamps, and add + and - operatorsMax Horn
svn-id: r47244
2010-01-10Typo.Johannes Schickel
svn-id: r47230
2010-01-10Add some more comments.Johannes Schickel
svn-id: r47229
2010-01-10Fix missing type forward declaration in voc.h.Johannes Schickel
svn-id: r47228
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-09Add Mixer::getElapsedTime() method returning a Timestamp, thus offering a ↵Max Horn
higher precision than Mixer::getSoundElapsedTime(). Convert some video code to use it. svn-id: r47213
2010-01-09Fix Timestamp::addMsecs; some cleanupMax Horn
svn-id: r47212
2010-01-09Implement some safer handling of the "Extended" block in VOC files.Johannes Schickel
svn-id: r47203
2010-01-09Replace AppendableAudioStream by QueuingAudioStreamMax Horn
svn-id: r47189
2010-01-08Use DisposeAfterUse::FlagWillem Jan Palenstijn
svn-id: r47187
2010-01-08Fix LinearMemoryStream::seek, when the stream was created without request to ↵Johannes Schickel
dispose the memory itself. svn-id: r47184
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-08Rename QueuedAudioStream to QueuingAudioStreamMax Horn
svn-id: r47179
2010-01-08Move Mohawk's QueuedAudioStream to sound/ (with some tweaks)Max Horn
svn-id: r47177
2010-01-08Add some warning inside makeLoopingAudioStream, in case the give start time ↵Johannes Schickel
is after the given end time. svn-id: r47162
2010-01-08Since AudioStream looping is no longer handled by the Mixer, drop ↵Johannes Schickel
Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream). svn-id: r47160
2010-01-08Add another makeLoopingAudioStream factory for transparently looping a ↵Johannes Schickel
certain interval of a SeekableAudioStream. svn-id: r47159
2010-01-07Fix use of getRate in VorbisInputStream's constructor. (Thanks to cyx for ↵Johannes Schickel
spotting this) svn-id: r47144
2010-01-07Cleanup.Johannes Schickel
svn-id: r47139
2010-01-07Fix a little bug in LoopingAudioStream::readBuffer.Johannes Schickel
svn-id: r47138
2010-01-07Remove setNumLoops and getNumPlayedLoops from AudioStream.Johannes Schickel
svn-id: r47137
2010-01-07Remove the deprecated FLAC, Vorbis and MP3 factories.Johannes Schickel
svn-id: r47134
2010-01-07Cleanup.Johannes Schickel
svn-id: r47133
2010-01-07Make VagStream a RewindableAudioStream.Johannes Schickel
svn-id: r47132
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
2010-01-07Get rid of calculatePlayTime, instead store playtimes as TimestampsMax Horn
svn-id: r47122
2010-01-07Add Timestamp::totalNumberOfFrames() method, clarify some commentsMax Horn
svn-id: r47120
2010-01-07Fix warningMax Horn
svn-id: r47119
2010-01-07Add important note for engine authors about SubSeekableAudioStream.Johannes Schickel
svn-id: r47114
2010-01-07Add a playInputStreamLooping for RewindableAudioStream to Mixer.Johannes Schickel
svn-id: r47113
2010-01-07Cleanup.Johannes Schickel
svn-id: r47112
2010-01-07- Strip custom looping code out of FLAC, Vorbis and MP3 streamsJohannes Schickel
- Adapt the legacy make*Stream factories to use the new AudioStream subclasses - Change return value of make*Stream back to AudioStream * svn-id: r47111
2010-01-07Switch Mixer back to use only one Channel implementation. (partial revert of ↵Johannes Schickel
r47031 + r47034). svn-id: r47110
2010-01-07First step of a slight revision of the new AudioStream looping API:Johannes Schickel
- Create a RewinadableAudioStream, for streams which can only be reset to the start - Create a LoopableAudioStream, which loops a whole RewindableAudioStream - Make SeekableAudioStream a subclass of RewindableAudioStream - Create a SubSeekableAudioStream, which allows of limiting the range of an SeekableAudioStream to be played. - Adapt AudioCD code. svn-id: r47109
2010-01-06Fix FLAC's getLength implementation.Johannes Schickel
svn-id: r47093