Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2010-01-01 | Implemented setNumLoops() for common audio streams. | Eugene Sandulenko | |
Implemented getNumPlayedLoops() for common audio streams. Requested by m_kriewitz. svn-id: r46836 | |||
2010-01-01 | Added setNumLoops() for linear memory streams, enables looping of samples in sci | Martin Kiewitz | |
svn-id: r46821 | |||
2009-11-03 | Fix for bug #2890038 (FT: Crashes when entering inventory) | Max Horn | |
svn-id: r45638 | |||
2009-08-17 | Slight cleanup to makeLinearDiskStream interface. | Johannes Schickel | |
svn-id: r43481 | |||
2009-08-17 | Added looping support to LinearDiskStream, needed by SAGA and perhaps other ↵ | Filippos Karapetis | |
engines. Note that the loop end parameter is still not implemented svn-id: r43479 | |||
2009-08-16 | Fix for bug #2838568 "AMIGAOS4: Compiler error in audiostream.cpp" | Johannes Schickel | |
svn-id: r43447 | |||
2009-08-13 | Allow VOCs to stream from disk. Disabled by default, use symbol ↵ | Neil Millstone | |
STREAM_AUDIO_FROM_DISK to enable. See patch #2834001. svn-id: r43357 | |||
2009-05-23 | Add support for "getTotalPlayTime" in LinearMemoryStream again. | Johannes Schickel | |
svn-id: r40840 | |||
2009-01-30 | do not include common/debug.h from common/util.h | Max Horn | |
svn-id: r36143 | |||
2008-12-12 | Okay, removing my implementation of AppandableAudioStream::getTotalPlayTime ↵ | Sven Hesse | |
(I've apparently misunderstood its intent) and using Mixer::getSoundElapsedTime() instead svn-id: r35317 | |||
2008-11-17 | Factoring shared code of template classes into a shared base class saves ↵ | Max Horn | |
another 4-7kb code size svn-id: r35104 | |||
2008-11-16 | Implementing getTotalPlayTime() for AppendableMemoryStream | Sven Hesse | |
svn-id: r35098 | |||
2008-11-12 | Verify sanity of LinearMemoryStream params in the factory function instead ↵ | Max Horn | |
of the constructor (which is replicated for each instantiation of the LinearMemoryStream template class) -> saves some bytes svn-id: r35014 | |||
2008-05-31 | Avoid some warnings when compiling in non-DEBUG mode (i.e. with assert() ↵ | Max Horn | |
disabled) svn-id: r32435 | |||
2008-05-24 | Patch #1970427: AudioStream play length querying | Max Horn | |
svn-id: r32258 | |||
2008-05-07 | Changed all delete [] usages to delete[]. | Johannes Schickel | |
svn-id: r31927 | |||
2007-12-21 | Fix memory leak in audiostream (I think) | Neil Millstone | |
svn-id: r29940 | |||
2007-09-19 | Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵ | Nicola Mettifogo | |
been updated. svn-id: r28966 | |||
2007-06-25 | Fix for a stupid typo in yesterdays sound fill tweak. | Robin Watts | |
This fixes bug 1743016. Thanks to erictorbjorn and md5 for pointing me at it. svn-id: r27718 | |||
2007-06-24 | Small tweak to the readBuffer routines of sound/audiostream.cpp; by counting a | Robin Watts | |
variable down we save 1 cycle per sample copied (at least) on most architectures. svn-id: r27693 | |||
2007-05-30 | Updated 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-14 | Extended Audio::openStreamFile function with startTime, duration and ↵ | Max Horn | |
numLoops parameters, and slightly cleaned up its code svn-id: r26471 | |||
2007-04-09 | When the appendable audiostream is done with a queued buffer, delete it as | Torbjörn Andersson | |
documented. svn-id: r26444 | |||
2007-03-02 | Changed 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 | |||
2007-03-01 | Rephrased a comment a bit | Max Horn | |
svn-id: r25914 |