Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-12 | Rename 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-12 | Fix loop alignment check | Willem Jan Palenstijn | |
svn-id: r47264 | |||
2010-01-11 | Improve support for negative Timestamps, and add + and - operators | Max Horn | |
svn-id: r47244 | |||
2010-01-10 | Typo. | Johannes Schickel | |
svn-id: r47230 | |||
2010-01-10 | Add some more comments. | Johannes Schickel | |
svn-id: r47229 | |||
2010-01-10 | Fix 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-09 | Add 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-09 | Fix Timestamp::addMsecs; some cleanup | Max Horn | |
svn-id: r47212 | |||
2010-01-09 | Implement some safer handling of the "Extended" block in VOC files. | Johannes Schickel | |
svn-id: r47203 | |||
2010-01-09 | Replace AppendableAudioStream by QueuingAudioStream | Max Horn | |
svn-id: r47189 | |||
2010-01-08 | Use DisposeAfterUse::Flag | Willem Jan Palenstijn | |
svn-id: r47187 | |||
2010-01-08 | Fix LinearMemoryStream::seek, when the stream was created without request to ↵ | Johannes Schickel | |
dispose the memory itself. svn-id: r47184 | |||
2010-01-08 | Switch Mixer::playInputStream to use DisposeAfterUse::Flag | Max Horn | |
svn-id: r47182 | |||
2010-01-08 | Rename QueuedAudioStream to QueuingAudioStream | Max Horn | |
svn-id: r47179 | |||
2010-01-08 | Move Mohawk's QueuedAudioStream to sound/ (with some tweaks) | Max Horn | |
svn-id: r47177 | |||
2010-01-08 | Add some warning inside makeLoopingAudioStream, in case the give start time ↵ | Johannes Schickel | |
is after the given end time. svn-id: r47162 | |||
2010-01-08 | Since AudioStream looping is no longer handled by the Mixer, drop ↵ | Johannes Schickel | |
Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream). svn-id: r47160 | |||
2010-01-08 | Add another makeLoopingAudioStream factory for transparently looping a ↵ | Johannes Schickel | |
certain interval of a SeekableAudioStream. svn-id: r47159 | |||
2010-01-07 | Fix use of getRate in VorbisInputStream's constructor. (Thanks to cyx for ↵ | Johannes Schickel | |
spotting this) svn-id: r47144 | |||
2010-01-07 | Cleanup. | Johannes Schickel | |
svn-id: r47139 | |||
2010-01-07 | Fix a little bug in LoopingAudioStream::readBuffer. | Johannes Schickel | |
svn-id: r47138 | |||
2010-01-07 | Remove setNumLoops and getNumPlayedLoops from AudioStream. | Johannes Schickel | |
svn-id: r47137 | |||
2010-01-07 | Remove the deprecated FLAC, Vorbis and MP3 factories. | Johannes Schickel | |
svn-id: r47134 | |||
2010-01-07 | Cleanup. | Johannes Schickel | |
svn-id: r47133 | |||
2010-01-07 | Make VagStream a RewindableAudioStream. | Johannes Schickel | |
svn-id: r47132 | |||
2010-01-07 | Make makeWAVStream return a RewindableAudioStream. | Johannes Schickel | |
svn-id: r47129 | |||
2010-01-07 | Create a wrapper makeLoopingAudioStream to reduce code duplcation. | Johannes Schickel | |
svn-id: r47128 | |||
2010-01-07 | Let ADPCM streams subclass RewindableAudioStreams and thus allow them to be ↵ | Johannes Schickel | |
looped with the new looping code. svn-id: r47127 | |||
2010-01-07 | Get rid of calculatePlayTime, instead store playtimes as Timestamps | Max Horn | |
svn-id: r47122 | |||
2010-01-07 | Add Timestamp::totalNumberOfFrames() method, clarify some comments | Max Horn | |
svn-id: r47120 | |||
2010-01-07 | Fix warning | Max Horn | |
svn-id: r47119 | |||
2010-01-07 | Add important note for engine authors about SubSeekableAudioStream. | Johannes Schickel | |
svn-id: r47114 | |||
2010-01-07 | Add a playInputStreamLooping for RewindableAudioStream to Mixer. | Johannes Schickel | |
svn-id: r47113 | |||
2010-01-07 | Cleanup. | Johannes Schickel | |
svn-id: r47112 | |||
2010-01-07 | - Strip custom looping code out of FLAC, Vorbis and MP3 streams | Johannes 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-07 | Switch Mixer back to use only one Channel implementation. (partial revert of ↵ | Johannes Schickel | |
r47031 + r47034). svn-id: r47110 | |||
2010-01-07 | First 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-06 | Fix FLAC's getLength implementation. | Johannes Schickel | |
svn-id: r47093 | |||
2010-01-06 | Add a constructor to Timestamp, which allows for specifying seconds + start ↵ | Johannes Schickel | |
frames directly. svn-id: r47091 | |||
2010-01-06 | Adapt FLAC and Vorbis to use calculateSampleOffset in their seek implementation. | Johannes Schickel | |
svn-id: r47085 | |||
2010-01-06 | Rename some Timestamp methods: getNumberOfFrames -> numberOfFrames and ↵ | Max Horn | |
getFramerate -> framerate svn-id: r47083 | |||
2010-01-06 | - Simplify Audio::calculateSampleOffset. | Johannes Schickel | |
- Made Audio::calculateSampleOffset accessable from outside audiostream.cpp. - Adapt KYRA's AUDStream to use Audio::calculateSampleOffset. svn-id: r47082 | |||
2010-01-06 | - Add some functionallity to query the seconds and number of frames stored ↵ | Johannes Schickel | |
in a Timestamp. - Add tests for these svn-id: r47081 | |||
2010-01-06 | - Move openStreamFile from AudioStream to SeekableAudioStream. | Johannes Schickel | |
- Fix documentation of openStreamFile. svn-id: r47080 | |||
2010-01-06 | Add more comparision operators to Timestamp | Max Horn | |
svn-id: r47071 | |||
2010-01-06 | Change the way Timestamp stores its data. | Max Horn | |
Instead of storing milliseconds and frames (which causes rounding errors, and causes ambiguity in how a given time is stored), we now do things differently: We store a number of seconds, and frames. To make sure that we can still handle milliseconds accurately, though, we change the framerate to the least common multiple of the original framerate and 1000. So 60 becomes 6000, and 44100 becomes 441000. There are no visible changes for client code, except for the increased accuracy. svn-id: r47070 | |||
2010-01-06 | The current AIFF stream implementations returns a SeekableAudioStream, ↵ | Johannes Schickel | |
reflect that in its factory method. svn-id: r47067 | |||
2010-01-06 | Change the AudioStream::openStreamFile API to return SeekableAudioStreams ↵ | Johannes Schickel | |
and remove parameter for depreacted loop support. (We could consider moving this to SeekableAudioStream). svn-id: r47065 | |||
2010-01-05 | - Put the new factories for MP3, Vorbis and FLAC in place. | Johannes Schickel | |
- Marked the loop factories with loop related parameters as deprecated. svn-id: r47061 |