aboutsummaryrefslogtreecommitdiff
path: root/video/theora_decoder.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2013-08-12 00:11:10 +0200
committerEinar Johan Trøan Sømåen2013-08-12 00:12:14 +0200
commit6454721e31c01fc94be2cdc1ffb0852c3c8a33b8 (patch)
tree7f6146d6e12397a44b24a42266269f9eda29a768 /video/theora_decoder.cpp
parent4f360a703a70b697cad8de58485858555ed8faa8 (diff)
downloadscummvm-rg350-6454721e31c01fc94be2cdc1ffb0852c3c8a33b8.tar.gz
scummvm-rg350-6454721e31c01fc94be2cdc1ffb0852c3c8a33b8.tar.bz2
scummvm-rg350-6454721e31c01fc94be2cdc1ffb0852c3c8a33b8.zip
VIDEO: Set stereo as bool instead of writing channel amount directly
Diffstat (limited to 'video/theora_decoder.cpp')
-rw-r--r--video/theora_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/theora_decoder.cpp b/video/theora_decoder.cpp
index 53e528faf2..a0ee0a36b4 100644
--- a/video/theora_decoder.cpp
+++ b/video/theora_decoder.cpp
@@ -335,7 +335,7 @@ TheoraDecoder::VorbisAudioTrack::VorbisAudioTrack(Audio::Mixer::SoundType soundT
vorbis_block_init(&_vorbisDSP, &_vorbisBlock);
info = &vorbisInfo;
- _audStream = Audio::makeQueuingAudioStream(vorbisInfo.rate, vorbisInfo.channels);
+ _audStream = Audio::makeQueuingAudioStream(vorbisInfo.rate, vorbisInfo.channels != 1);
_audioBufferFill = 0;
_audioBuffer = 0;