scummvm/sound
Torbjörn Andersson 3f99723423 When I played an Ogg Vorbis-encoded FotAQ I noticed that whenever a sound
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-21 16:59:10 +00:00
..
.cvsignore
audiocd.cpp Patch #885904 (Flac Support) with some tweaks by me 2004-02-22 14:11:16 +00:00
audiocd.h updated copyright notice 2004-01-06 12:45:34 +00:00
audiostream.cpp Patch #885904 (Flac Support) with some tweaks by me 2004-02-22 14:11:16 +00:00
audiostream.h Patch #885904 (Flac Support) with some tweaks by me 2004-02-22 14:11:16 +00:00
flac.cpp Patch #885904 (Flac Support) with some tweaks by me 2004-02-22 14:11:16 +00:00
flac.h Patch #885904 (Flac Support) with some tweaks by me 2004-02-22 14:11:16 +00:00
fmopl.cpp Patch #902111: Change remaining random function calls to use RandomSource 2004-03-13 18:44:10 +00:00
fmopl.h Patch #902111: Change remaining random function calls to use RandomSource 2004-03-13 18:44:10 +00:00
mididrv.cpp Prepare Zodiac MIDI support 2004-02-05 13:56:39 +00:00
mididrv.h Fixed "no newline at end of file" warning. 2004-02-06 08:35:24 +00:00
midiparser_smf.cpp updated copyright notice 2004-01-06 12:45:34 +00:00
midiparser_xmidi.cpp updated copyright notice 2004-01-06 12:45:34 +00:00
midiparser.cpp updated copyright notice 2004-01-06 12:45:34 +00:00
midiparser.h updated copyright notice 2004-01-06 12:45:34 +00:00
mixer.cpp renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend 2004-02-28 12:58:13 +00:00
mixer.h Patch #885904 (Flac Support) with some tweaks by me 2004-02-22 14:11:16 +00:00
module.mk Patch #885904 (Flac Support) with some tweaks by me 2004-02-22 14:11:16 +00:00
mp3.cpp Patch #885904 (Flac Support) with some tweaks by me 2004-02-22 14:11:16 +00:00
mp3.h Patch #885904 (Flac Support) with some tweaks by me 2004-02-22 14:11:16 +00:00
mpu401.cpp updated copyright notice 2004-01-06 12:45:34 +00:00
mpu401.h updated copyright notice 2004-01-06 12:45:34 +00:00
rate.cpp updated copyright notice 2004-01-06 12:45:34 +00:00
rate.h updated copyright notice 2004-01-06 12:45:34 +00:00
resample.cpp renamed AudioInputStream -> AudioStream 2004-01-03 14:10:13 +00:00
resample.h updated copyright notice 2004-01-06 12:45:34 +00:00
voc.cpp fixed bug #892426 - improved FT sound loops 2004-02-14 15:14:30 +00:00
voc.h fixed bug #892426 - improved FT sound loops 2004-02-14 15:14:30 +00:00
vorbis.cpp When I played an Ogg Vorbis-encoded FotAQ I noticed that whenever a sound 2004-03-21 16:59:10 +00:00
vorbis.h Patch #885904 (Flac Support) with some tweaks by me 2004-02-22 14:11:16 +00:00