aboutsummaryrefslogtreecommitdiff
path: root/sdl.cpp
diff options
context:
space:
mode:
authorLionel Ulmer2002-05-18 14:53:19 +0000
committerLionel Ulmer2002-05-18 14:53:19 +0000
commit3b4c6ceb0f621b68a5a44922d7218987faedb10e (patch)
tree55d9b1ff3d1cb7fb60612360eef2d26b87167d86 /sdl.cpp
parent53f993be44ac34c3f17677cb432a366dec962824 (diff)
downloadscummvm-rg350-3b4c6ceb0f621b68a5a44922d7218987faedb10e.tar.gz
scummvm-rg350-3b4c6ceb0f621b68a5a44922d7218987faedb10e.tar.bz2
scummvm-rg350-3b4c6ceb0f621b68a5a44922d7218987faedb10e.zip
Added infrastructure to support more than 8 bit signed / unsigned RAW
mixers. Porters, beware, the default configuration is now 16 bit stereo instead of 16 mono as before (I changed X11 and SDL but no others). I did not add support for any other format yet, I will let Endy do it when he needs it :-) svn-id: r4348
Diffstat (limited to 'sdl.cpp')
-rw-r--r--sdl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl.cpp b/sdl.cpp
index 316fb2af59..8ec7d2611c 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -829,7 +829,7 @@ bool OSystem_SDL::set_sound_proc(void *param, SoundProc *proc, byte format) {
desired.freq = SAMPLES_PER_SEC;
desired.format = AUDIO_S16SYS;
- desired.channels = 1;
+ desired.channels = 2;
desired.samples = 2048;
desired.callback = proc;
desired.userdata = param;