Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-22 | Fix for bug #2969211 "NIPPON: Crash in Intro". | Johannes Schickel | |
It is not a good idea to supply an SubLoopingAudioStream with the start and end time to be exactly the same time. Clarify that in the SubLoopingAudioStream documentation, add an assert in the SubLoopingAudioStream constructor for that case and also prevent make8SVXStream from doing so. svn-id: r48356 | |||
2010-02-23 | Add assert(!_finished) to QueuingAudioStreamImpl::queueAudioStream | Max Horn | |
svn-id: r48122 | |||
2010-02-09 | Formatting. | Johannes Schickel | |
svn-id: r48023 | |||
2010-02-09 | Be a bit more forgiveful in case the SeekableAudioStream passed to ↵ | Johannes Schickel | |
SubLoopingAudioStream does not allow reading the requested sample count at once (i.e. do not tread that as error, unless endOfData() is set). svn-id: r48022 | |||
2010-02-09 | Stop SubLoopingAudioStream playback, in case reading from the parent stream ↵ | Johannes Schickel | |
fails. svn-id: r48021 | |||
2010-02-09 | Make Audio::convertTimeToStreamPos return a frame-precision based result ↵ | Johannes Schickel | |
instead of a sub-frame-precision based result. This fixes the SubLoopingAudioStream tests. svn-id: r48020 | |||
2010-02-09 | Fix SubLoopingAudioStream's readBuffer implementation. | Johannes Schickel | |
svn-id: r48018 | |||
2010-02-06 | Fix bug in LoopingAudioStream::readBuffer, this makes the unit tests ↵ | Johannes Schickel | |
complete without any error. svn-id: r47935 | |||
2010-02-03 | - Rename FlacStream to FLACStream. | Johannes Schickel | |
- Rename makeFlacStream to makeFLACStream. svn-id: r47846 | |||
2010-01-30 | Remove RawMemoryStream. | Johannes Schickel | |
svn-id: r47717 | |||
2010-01-27 | Fix invalid sample position on Timestamp to sample conversion for Stereo ↵ | Johannes Schickel | |
streams. svn-id: r47591 | |||
2010-01-26 | Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵ | Max Horn | |
sound/decoders/ svn-id: r47579 | |||
2010-01-25 | Formatting. | Johannes Schickel | |
svn-id: r47540 | |||
2010-01-23 | Reorder params to Audio::makeRawMemoryStream | Max Horn | |
svn-id: r47492 | |||
2010-01-23 | Get rid of FLAG_LOOP | Max Horn | |
svn-id: r47473 | |||
2010-01-23 | Get rid of deprecated makeRawDiskStream variants; rename deprecated ↵ | Max Horn | |
makeRawMemoryStream variant to makeRawMemoryStream_OLD; adapt some code to this change svn-id: r47472 | |||
2010-01-19 | Get rid of Mixer::FLAG_AUTOFREE. | Max Horn | |
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369 | |||
2010-01-19 | Move raw audio streams to new header sound/raw.h | Max Horn | |
svn-id: r47368 | |||
2010-01-19 | Rename 'Linear' audio streams to 'raw' | Max Horn | |
svn-id: r47367 | |||
2010-01-17 | Fix SubSeekableAudioStream for stereo streams. | Johannes Schickel | |
svn-id: r47352 | |||
2010-01-17 | Update debug message. | Johannes Schickel | |
svn-id: r47351 | |||
2010-01-17 | Fix SubSeekableAudioStream regression from r47226 (i.e. length was ↵ | Johannes Schickel | |
calculated as start - end instead of end - start). svn-id: r47350 | |||
2010-01-16 | Switch most AudioStream factories to use DisposeAfterUse::Flag | Max Horn | |
svn-id: r47334 | |||
2010-01-15 | Fix QueuingAudioStreamImpl::endOfStream implementation. This fixes cut off ↵ | Johannes Schickel | |
speech in COMI for me. svn-id: r47316 | |||
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 | - 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 | Replace AppendableAudioStream by QueuingAudioStream | Max Horn | |
svn-id: r47189 | |||
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 | 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 | Add another makeLoopingAudioStream factory for transparently looping a ↵ | Johannes Schickel | |
certain interval of a SeekableAudioStream. svn-id: r47159 | |||
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 | Create a wrapper makeLoopingAudioStream to reduce code duplcation. | Johannes Schickel | |
svn-id: r47128 | |||
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 | 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 | 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 | - Move openStreamFile from AudioStream to SeekableAudioStream. | Johannes Schickel | |
- Fix documentation of openStreamFile. svn-id: r47080 | |||
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 | Remove unsafe getTotalPlayTime from AudioStream. | Johannes Schickel | |
svn-id: r47037 | |||
2010-01-05 | Add a "getLength" function to SeekableAudioStream. | Johannes Schickel | |
svn-id: r47036 | |||
2010-01-05 | - Add a new SeekableAudioStream interface. Soon to be used to replace audio ↵ | Johannes Schickel | |
stream specific looping code by generic code in Mixer... - Adapted some existing AudioStreams to implement that interface (not tested!) svn-id: r47013 | |||
2010-01-01 | Properly reset _numPlayedLoops in setNumLoops in all AudioStream ↵ | Johannes Schickel | |
implementations implementing setNumLoops. svn-id: r46861 | |||
2010-01-01 | init _numPlayedLoops inside LinearMemoryStream | Martin Kiewitz | |
svn-id: r46857 | |||
2010-01-01 | Fix getTotalPlayTime for MP3, FLAC, Vorbis and LinearMemoryStream after the ↵ | Johannes Schickel | |
latest loop related changes. svn-id: r46838 |