aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2004-04-08seems it is 'endianness' and not 'endianess'Max Horn
svn-id: r13504
2004-03-28Format string fix.Torbjörn Andersson
svn-id: r13408
2004-03-21When I played an Ogg Vorbis-encoded FotAQ I noticed that whenever a soundTorbjörn Andersson
effect happened during a line of speech there was a chance - not a certainty - that the speech would get cut off prematurely. As far as I can tell, this is because the Vorbis decoder isn't the only one who's accessing the same file. Now the Vorbis decoder will explicitly seek to the position where it expects the file to be at before reading from it. I hope this is the correct fix. It does fix the problem for me, at least. I don't know if any of the other decoders needs a similar patch. I couldn't reproduce the problem with my MP3-encoded FotAQ, but there are other possible explanations for that, e.g. the bug gets harder to trigger the more sound data that is decoded in each pass. svn-id: r13353
2004-03-13Patch #902111: Change remaining random function calls to use RandomSourceMax Horn
svn-id: r13262
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-02-24the OSystem changes we discussed on the ML (note: renaming of the existing ↵Max Horn
OSystem API is not yet finished); porters will have to fix their ports to get them to compile again svn-id: r13036
2004-02-22Patch #885904 (Flac Support) with some tweaks by meMax Horn
svn-id: r12984
2004-02-14fixed bug #892426 - improved FT sound loopsPaweł Kołodziejski
svn-id: r12886
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-02-12With no comments from fingolfin, and a go-ahead from ender, I've committedTorbjörn Andersson
patch #892455 ("getElapsedTime() for sounds") despite its current shortcomings. It should be good enough for the Broken Sword cutscenes anyway, which is what I'll be looking at next. svn-id: r12829
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-02-06Fixed "no newline at end of file" warning.Torbjörn Andersson
svn-id: r12746
2004-02-05Prepare Zodiac MIDI supportChris Apers
svn-id: r12734
2004-02-03Act more gracefully when failing to load a (VOC) sound (should help bug #889442)Max Horn
svn-id: r12719
2004-01-30Various changes to the build system which allow building ScummVM in an ↵Max Horn
external directory (and as such, allow you to have a debug, a profiling, and a release build from the same set of source files in parallel). Work in progress svn-id: r12680
2004-01-29Renamed the 'pan' effect of the mixer to 'balance', since that is what we ↵Max Horn
actually do; applied patch #886786 which corrects a bug in the balance code svn-id: r12665
2004-01-20No more neededChris Apers
svn-id: r12559
2004-01-20Enable those drivers (still no sound on PalmOS)Chris Apers
svn-id: r12558
2004-01-18Patch #878883: Fix for Ogg Vorbis playbackMax Horn
svn-id: r12503
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-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