aboutsummaryrefslogtreecommitdiff
path: root/sound/audiostream.h
AgeCommit message (Collapse)Author
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
2003-12-17Made sure that *all* AudioInputStream 'know' their sample rate; removed ↵Max Horn
pointless MusicStream class; removed various specific Channel subclasses and instead generalized the base class some more svn-id: r11699
2003-12-17changed the way 'streams' are handled: the finalization logic is now in the ↵Max Horn
WrappedAudioInputStream; this allows further streamlining of the channel/mixer code (can you already guess what I am working towards? :-) svn-id: r11696
2003-11-07fix invalid typo fixes ;-) (BTW did anybody get comit mails for khalek's ↵Max Horn
changes? I didn't) svn-id: r11183
2003-11-07spelling fixesJonathan Gray
svn-id: r11180
2003-08-13ZeroInputStream::readBuffer didn't have the same signature as the base class ↵Bertrand Augereau
version, making VC.NET 2K3 complain svn-id: r9668
2003-08-07replace code in readBuffer by slightly less efficient but hopefully working ↵Max Horn
code (at least it fixes an endless loop in COMI for me). I did fix the originaly bug in my optimization, and right now I clueless as to why that code isn't working as it should <sigh>. Need sleep svn-id: r9588
2003-08-04renamed eof -> eos (end of stream); hid MP3/Vorbis stream classes completly ↵Max Horn
(by providing factory methods); new readBuffer method for AudioInputStream for improved speed of the mixer; new MusicStream class (subclassed for MP3/Vorbis sound) which offers a getRate method; some other tweaks svn-id: r9467
2003-08-02slightly optimized MP3InputStream::eof, and some cleanupMax Horn
svn-id: r9422
2003-08-02converted ChannelMP3 to use new rate conversion scheme, too. Only thing ↵Max Horn
missing now is FLAG_REVERSE_STEREO support (and of course fixing regressions, and the long term goal is to make resample.cpp usable, too) svn-id: r9395
2003-08-01let the input stream handle the looping (by pretending to be of infinite ↵Max Horn
size -> this fixes a problem which cause 'gaps' at loop turn-over points) svn-id: r9379
2003-08-01implemented raw sound looping; some debug output enabled temporarilyMax Horn
svn-id: r9360
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-07-31removed the AudioInputStream::size method -> only eof() is really needed, ↵Max Horn
and this can be implemented more efficiently stand-alone; implemented MP3InputStream (work in progress) svn-id: r9313
2003-07-29added VorbisInputStreamMax Horn
svn-id: r9271
2003-07-28make wrapped stream work (I can hear some music in CoMI now before it ↵Max Horn
segfaults :-) svn-id: r9258
2003-07-28rewrote the input streams, this should be more straightforward and inline ↵Max Horn
slightly better (the fact that the main AudioInputStream methods are virtual still means that no inlining can take place there; but of course, if we did change that, all the rate converters would have to exist in 8, instead of currently 2, compiled versions) svn-id: r9256
2003-07-28more work on WrappedMemoryStream (not yet tested)Max Horn
svn-id: r9253
2003-07-28instead of 'int channels', use 'bool stereo' (less extensible, but then I ↵Max Horn
don't think we'll ever support 5.1 sound :-)); fixed a bug in st_rate_flow where it sometimes would overflow the output buffer; made CopyRateConverter a template, too, increasing efficency svn-id: r9239