aboutsummaryrefslogtreecommitdiff
path: root/sound/vorbis.cpp
AgeCommit message (Collapse)Author
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-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-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-03renamed AudioInputStream -> AudioStreamMax Horn
svn-id: r12110
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
2003-12-23Allow sound ID for MP3/Vorbis sounds, too; cleaned up Vorbis playback code a bitMax Horn
svn-id: r11879
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-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-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