aboutsummaryrefslogtreecommitdiff
path: root/sound/audiostream.h
AgeCommit message (Collapse)Author
2010-01-01Mention in documentation of AudioStream::setNumLoops, that this function ↵Johannes Schickel
also resets the number of loops played counter. svn-id: r46862
2010-01-01Fix getTotalPlayTime for MP3, FLAC, Vorbis and LinearMemoryStream after the ↵Johannes Schickel
latest loop related changes. svn-id: r46838
2010-01-01Implemented setNumLoops() for common audio streams.Eugene Sandulenko
Implemented getNumPlayedLoops() for common audio streams. Requested by m_kriewitz. svn-id: r46836
2010-01-01Extend doxygen comment for setNumLoops()Eugene Sandulenko
svn-id: r46832
2010-01-01Adding setNumLoops() to AudioStream classMartin Kiewitz
svn-id: r46819
2009-10-18cleanupMax Horn
svn-id: r45236
2009-08-17Slight cleanup to makeLinearDiskStream interface.Johannes Schickel
svn-id: r43481
2009-08-13Allow 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-03-04Added Audio::Timestamp class, based on SCI's sfx_timestamp_t; also provide a ↵Max Horn
unit test for it, based on the old (and very outdated) timetest.cpp. To be used by Audio::Mixer one day... svn-id: r39112
2008-05-24Made AudioStream::getTotalPlayTime virtual (Ooops :-)Johannes Schickel
svn-id: r32261
2008-05-24Patch #1970427: AudioStream play length queryingMax Horn
svn-id: r32258
2008-04-20Fixed comments.Torbjörn Andersson
svn-id: r31625
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-04-14Extended Audio::openStreamFile function with startTime, duration and ↵Max Horn
numLoops parameters, and slightly cleaned up its code svn-id: r26471
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
2007-02-28Changed the AppendableAudioStream code to use a queue of buffers, instead of ↵Max Horn
a fixed size wrap-around memory buffer (this reduces memory usage in some cases by 500-700k, while actually being more flexible) svn-id: r25909
2007-02-28cleanupMax Horn
svn-id: r25906
2006-05-18Added player for the Kyra 3 VQA cutscenes, based on my earlier prototype. ItTorbjörn Andersson
could use some cleanup, and there are a couple of TODOs sprinkled throughout the code, but it seems to work reasonably well. Until the Kyra 3 main menu is implemented, it won't actually be used though. It uses the appendable audio stream class, which I have moved out of the SCUMM engine. svn-id: r22526
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-04-15cleanupMax Horn
svn-id: r21920
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20515
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-09-18Clarify the AudioStream::readSample requirementsMax Horn
svn-id: r18844
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-01-11This is probably not the optimal fix, but at least ScummVM compiles again.Torbjörn Andersson
svn-id: r16538
2005-01-10A little more moving around #include's (last one for today ;-)Max Horn
svn-id: r16534
2005-01-09cleanupMax Horn
svn-id: r16500
2005-01-09Moving AppendableAudioStream into SCUMM engine, as it is only used thereMax Horn
svn-id: r16494
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-27AudioStream::read() has been removed quite some time ago, now making sure ↵Max Horn
that change is reflected everywhere svn-id: r15911
2004-11-22cleanupMax Horn
svn-id: r15863
2004-09-25Remove obsolete path paramMax Horn
svn-id: r15278
2004-09-25Fix doxygen warningsMax Horn
svn-id: r15277
2004-07-11Use extrapath in Sword1 engine (from 0.6.0 branch). More verbose errors to ↵James Brown
go with the forthcoming new manual. Sword1 CD swapping doesn't work as expected HERE, either :) svn-id: r14188
2004-07-01getFreeSpace() is not longer usedPaweł Kołodziejski
svn-id: r14136
2004-06-28Make use of new File refcount code; also fixed long standing bug in vorbis ↵Max Horn
code (ov_clear was not being called, resulting in a file not being closed) svn-id: r14107
2004-04-25delete CustomProcInputStream and add getFreeSpace for appendable audiostreamPaweł Kołodziejski
svn-id: r13629
2004-04-13added CustomProcInputStreamPaweł Kołodziejski
svn-id: r13570
2004-02-22Patch #885904 (Flac Support) with some tweaks by meMax Horn
svn-id: r12984
2004-02-12Removed now obsolete getSamplesPlayed() function. It was only ever used forTorbjörn Andersson
the Broken Sword cutscenes, where it didn't work very well, and was never fully implemented. svn-id: r12832
2004-01-17Update BS2 cutscene player with changes from roever: overlay support ↵James Brown
(default, 8bit backends should define BACKEND_8BIT for fast colour remapping) and sound syncronisation. svn-id: r12456
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-03renamed AudioInputStream -> AudioStreamMax Horn
svn-id: r12110
2003-12-26logic fix: we must do wrap around *before* read, not after. otherwise ↵Max Horn
eosIntern will in some border cases return wrong results; some cleanup svn-id: r11932
2003-12-21Rewrote make*Stream factory functions to work around bug in MSVC6 (see bug ↵Max Horn
report #860067); added some comments; LinearMemoryStream now can auto-dispose the data passed to it svn-id: r11798
2003-12-19distinguish between end of stream and end of dataMax Horn
svn-id: r11756
2003-12-19o Moved MP3 and Vorbis input streams to mp3.* resp. vorbis.*Max Horn
o Added SoundMixer::playInputStream and made some of the other play* methods use it o Added ProcInputStream stub (not working yet) which one day may allow us to replace the premix code, and allow other fancy stuff o Remove AudioInputStream::readBuffer default implementation (subclasses should always provide it for max. performance) o Some minor cleanup svn-id: r11754