aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-04no need to specify game data path here: File::setDefaultDirectory() took ↵Max Horn
care of that svn-id: r12135
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
2004-01-03replace read() by readBuffer() in CopyRateConverterMax Horn
svn-id: r12102
2004-01-03more MAD MP3 / Ogg Vorbis cleanup: try not to expose anything about the libs ↵Max Horn
used for MP3/Vorbis support -> this eases changing the implementations, and reduces header dependencies (and thus compile time) :-) svn-id: r12097
2004-01-03removed SoundMixer::playMP3CDTrack; simplified makeMP3Stream (special ↵Max Horn
variant with mad_timer_t was really only needed for MP3TrackInfo class) svn-id: r12095
2004-01-03added makeVOCStream() (convenience function)Max Horn
svn-id: r12094
2003-12-28FT sounds have loops in voc data: 65536, that could be max loops or unfinite ↵Paweł Kołodziejski
loops svn-id: r11992
2003-12-27cleanupMax Horn
svn-id: r11981
2003-12-27paranoiaMax Horn
svn-id: r11980
2003-12-27fixed compilationPaweł Kołodziejski
svn-id: r11976
2003-12-27renamed VOC functionsMax Horn
svn-id: r11962
2003-12-26added handing voc loopsPaweł Kołodziejski
svn-id: r11951
2003-12-26fix warning, add TODO commentMax Horn
svn-id: r11942
2003-12-26passthrought v7+ sound voices by imuse digitalPaweł Kołodziejski
svn-id: r11939
2003-12-26add param to playInputStream which makes it possible to retain an input ↵Max Horn
stream even after it has been given to the mixer for playback svn-id: r11933
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-24o Added SoundMixer::isReady()Max Horn
o Removed SoundMixer::bindToSystem() o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady() svn-id: r11893
2003-12-24explicitly turn off all active sounds -> not all MIDI devices support the ↵Max Horn
'All note off' event, at least according to http://crystal.apana.org.au/ghansper/midi_introduction/midi_channel_mode.html ; and now, the quicktime MIDI code doesn't support it anymore, too ;-) svn-id: r11885
2003-12-24turned PlayingSoundHandle into an 'opaque' (well not really :-) data type, ↵Max Horn
mainly because people kept (accidentally and sometimes on purpose :-) misusing them svn-id: r11881
2003-12-23Allow sound ID for MP3/Vorbis sounds, too; cleaned up Vorbis playback code a bitMax Horn
svn-id: r11879
2003-12-22Fix warning generated by the incomprehensibly picky MinGW GCC compiler.Torbjörn Andersson
svn-id: r11858
2003-12-22o Got rid of Channel::destroy() method (no more evil 'delete this', plusMax Horn
slightly more efficient) o Fixed potential memory leak in SoundMixer::playRaw o Channel not anymore friend class of SoundMixer o misc cleanup svn-id: r11857
2003-12-21include stdafx.hMax Horn
svn-id: r11829
2003-12-21added convenience SoundMixer::playVorbis variant which calls through to ↵Max Horn
playSfxSound_Vorbis; made scumm/queen engines use it svn-id: r11812
2003-12-21Cleaned up SoundMixer::newStream() a bit (I plan to replace all usages of ↵Max Horn
this by playInputStream(), this cleanup eases this a bit) svn-id: r11803
2003-12-21o Make use of the new LinearMemoryStream feature which allows auto-disposing ↵Max Horn
the sound data o This allows us to get rid of the ChannelRaw class o Removed the sound index return value from several methods o Removed all methods dealing with sound indices (i.e. stopChannel and pauseChannel) svn-id: r11801
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-19fix for recent audio stream regressionMax Horn
svn-id: r11752
2003-12-18PalmOS sound API cannot access globals data, StackLock constructor use g_systemChris Apers
svn-id: r11742
2003-12-18This is now supported on PalmOSChris Apers
svn-id: r11741
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-17cleanupMax Horn
svn-id: r11697
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-12-17some cleanupMax Horn
svn-id: r11694
2003-12-16cleanupMax Horn
svn-id: r11686
2003-12-16added mixer flag for little endian samplesRobert Göffringmann
svn-id: r11665
2003-12-12init some more member varsMax Horn
svn-id: r11597
2003-12-11Emergency bugfixes:Torbjörn Andersson
Initialise _cd.playing to false. Otherwise ScummVM may create a savegame where a CD track appears to be playing, but everything about it is undefined, causing ScummVM to crash when loading it. Initialise _track_info[] with NULLs, otherwise ScummVM crashes for me when I start the CD version of MI1. There's probably a lot more that *should* be properly initialised, but this seems to take care of the most serious issues, and is all I have the time to do now anyway. svn-id: r11573
2003-12-11Expanded the Doxygen docs for the MidiParser class.Jamieson Christian
Painfully detailed in its description of how to get a MidiParser object hooked up and running. Hope this helps ya, Joost! ;) svn-id: r11559
2003-12-10Endian-safe read-and-advance helper functions areJamieson Christian
now based on the READ_LE_* and READ_BE_* macros. Very slight performance gain, woo hoo. svn-id: r11558
2003-12-09small tweak/fix (?)Max Horn
svn-id: r11541
2003-11-29cleanupMax Horn
svn-id: r11431
2003-11-29fixed warningPaweł Kołodziejski
svn-id: r11430
2003-11-29added API to query CD playback status; renamed AudioCDManager methodsMax Horn
svn-id: r11422
2003-11-29moved Audio CD (emulation) code from scumm/sound.cpp to sound/, so that it ↵Max Horn
may be reused by other engines in the future svn-id: r11421
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11221