[Scummvm-cvs-logs] scummvm master -> 6454721e31c01fc94be2cdc1ffb0852c3c8a33b8

somaen einarjohants at gmail.com
Mon Aug 12 00:13:05 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
6454721e31 VIDEO: Set stereo as bool instead of writing channel amount directly


Commit: 6454721e31c01fc94be2cdc1ffb0852c3c8a33b8
    https://github.com/scummvm/scummvm/commit/6454721e31c01fc94be2cdc1ffb0852c3c8a33b8
Author: Einar Johan Trøan Sømåen (einarjohants at gmail.com)
Date: 2013-08-11T15:12:14-07:00

Commit Message:
VIDEO: Set stereo as bool instead of writing channel amount directly

Changed paths:
    video/theora_decoder.cpp



diff --git a/video/theora_decoder.cpp b/video/theora_decoder.cpp
index 53e528f..a0ee0a3 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;






More information about the Scummvm-git-logs mailing list