diff options
| author | Alyssa Milburn | 2011-06-17 19:47:32 +0200 | 
|---|---|---|
| committer | Alyssa Milburn | 2011-06-17 19:47:32 +0200 | 
| commit | a8049f708b023c887bd8a8792b68299c7050dca9 (patch) | |
| tree | 4999dcd81c96a2f3eed24cf4088823dad9e517e5 /backends/mixer/sdl | |
| parent | 94ad45b0589faf3e316ecd988831e2d99f5ea28d (diff) | |
| download | scummvm-rg350-a8049f708b023c887bd8a8792b68299c7050dca9.tar.gz scummvm-rg350-a8049f708b023c887bd8a8792b68299c7050dca9.tar.bz2 scummvm-rg350-a8049f708b023c887bd8a8792b68299c7050dca9.zip  | |
BACKENDS: Mono output devices are OK on Symbian.
Diffstat (limited to 'backends/mixer/sdl')
| -rw-r--r-- | backends/mixer/sdl/sdl-mixer.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/mixer/sdl/sdl-mixer.cpp b/backends/mixer/sdl/sdl-mixer.cpp index f0b0885dd7..979b18e264 100644 --- a/backends/mixer/sdl/sdl-mixer.cpp +++ b/backends/mixer/sdl/sdl-mixer.cpp @@ -84,8 +84,12 @@ void SdlMixerManager::init() {  		if (_obtained.format != desired.format)  			warning("SDL mixer sound format: %d differs from desired: %d", _obtained.format, desired.format); +#ifndef __SYMBIAN32__ +		// The SymbianSdlMixerManager does stereo->mono downmixing, +		// but otherwise we require stereo output.  		if (_obtained.channels != 2)  			error("SDL mixer output requires stereo output device"); +#endif  		_mixer = new Audio::MixerImpl(g_system, _obtained.freq);  		assert(_mixer);  | 
