From 30e360f5c519cd006f20ece0388be0206dd66701 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sat, 9 Jan 2010 03:55:09 +0000 Subject: Yup, not checking for stereo sound was an accident here svn-id: r47195 --- graphics/video/coktelvideo/coktelvideo.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'graphics/video') 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 -- cgit v1.2.3