diff options
author | Sven Hesse | 2010-01-09 03:55:09 +0000 |
---|---|---|
committer | Sven Hesse | 2010-01-09 03:55:09 +0000 |
commit | 30e360f5c519cd006f20ece0388be0206dd66701 (patch) | |
tree | 5b485d28f3576ac27e25e74c3ec22f6de6b62467 /graphics/video/coktelvideo | |
parent | 1e3679b4b6ef1645b1e4f8346d0b2e951417c78e (diff) | |
download | scummvm-rg350-30e360f5c519cd006f20ece0388be0206dd66701.tar.gz scummvm-rg350-30e360f5c519cd006f20ece0388be0206dd66701.tar.bz2 scummvm-rg350-30e360f5c519cd006f20ece0388be0206dd66701.zip |
Yup, not checking for stereo sound was an accident here
svn-id: r47195
Diffstat (limited to 'graphics/video/coktelvideo')
-rw-r--r-- | graphics/video/coktelvideo/coktelvideo.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/graphics/video/coktelvideo/coktelvideo.cpp b/graphics/video/coktelvideo/coktelvideo.cpp index 345070a04f..88bbbd8afc 100644 --- a/graphics/video/coktelvideo/coktelvideo.cpp +++ b/graphics/video/coktelvideo/coktelvideo.cpp @@ -1559,12 +1559,7 @@ void Vmd::seekFrame(int32 frame, int16 whence, bool restart) { // Restart sound if (_hasSound && (frame == 0) && (_soundStage == 0) && !_audioStream) { _soundStage = 1; - // FIXME: This code didn't check the stereo flag at all and always generated - // mono data. Is that on purpose? If so, just remove this comment. - // If it was by accident, remove the assert and replace "false" in the call - // to makeQueuingAudioStream() below by "_soundStereo > 0". - assert(_soundStereo == 0); - _audioStream = Audio::makeQueuingAudioStream(_soundFreq, false); + _audioStream = Audio::makeQueuingAudioStream(_soundFreq, _soundStereo != 0); } // Seek |