aboutsummaryrefslogtreecommitdiff
path: root/sound/audiostream.cpp
AgeCommit message (Collapse)Author
2008-05-31Avoid some warnings when compiling in non-DEBUG mode (i.e. with assert() ↵Max Horn
disabled) svn-id: r32435
2008-05-24Patch #1970427: AudioStream play length queryingMax Horn
svn-id: r32258
2008-05-07Changed all delete [] usages to delete[].Johannes Schickel
svn-id: r31927
2007-12-21Fix memory leak in audiostream (I think)Neil Millstone
svn-id: r29940
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-25Fix 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-24Small tweak to the readBuffer routines of sound/audiostream.cpp; by counting aRobin Watts
variable down we save 1 cycle per sample copied (at least) on most architectures. svn-id: r27693
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-04-09When the appendable audiostream is done with a queued buffer, delete it asTorbjörn Andersson
documented. svn-id: r26444
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-03-01Rephrased a comment a bitMax Horn
svn-id: r25914
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
2007-02-24Changed AudioStream::openStreamFile to use the modern variant of the audio ↵Max Horn
stream factories (thus, the FLAC/Ogg/MP3 files it opens are not read completely into memory anymore) svn-id: r25839
2006-06-19Added assert to audiostream allocation since failure causes serious problemsLars Persson
svn-id: r23184
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-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-03It's really 'MPEG', not 'Mpeg'Max Horn
svn-id: r21042
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-08-10Don't explicity check for tremor and vorbis everywhere andJonathan Gray
require both USE_TREMOR and USE_VORBIS to be defined when using tremor. svn-id: r18642
2005-08-10Rest of the changes required for tremor to actually work.Jonathan Gray
Based on patches against 0.7.1 by Jolan Luff. svn-id: r18641
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-05-10Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' ↵Max Horn
because we already have many classes with that name) svn-id: r18039
2005-05-10Moved class File and the MD5 stuff to namespace CommonMax Horn
svn-id: r18037
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-27Removed the (highly SCUMM specific) 'appendable stream' API from SoundMixer; ↵Max Horn
SCUMM now uses the appendable stream directly svn-id: r15919
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-10-11Implement premix proc via an AudioStream / Channel (eventually we'll remove ↵Max Horn
the setupPremix method which takes a proc pointer) svn-id: r15522
2004-10-09Make AppendableAudioStream endianness-aware.Eugene Sandulenko
svn-id: r15491
2004-09-25Remove obsolete path paramMax Horn
svn-id: r15278
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-06-09Fixed a typo in a comment.Torbjörn Andersson
svn-id: r13948
2004-04-26synced code free space with buffer changesPaweł Kołodziejski
svn-id: r13646
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-08Change AppendableMemoryStream overflows to debug messages, so people stop ↵James Brown
believing them to be the cause of errors in bug reports :P svn-id: r12775
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-03renamed AudioInputStream -> AudioStreamMax Horn
svn-id: r12110
2004-01-03simplification (possible since read() doesn't have to be efficient anymore)Max Horn
svn-id: r12103
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