X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfsound%2Fsdl.c;h=f6777440107898f7b91c0ff5d4383ea947fab753;hp=45ccba2dde7c8ffac6489e5a98d1bd88541b53fc;hb=deb18d24e522ab1d9860ffa5730559e3e6a6aa5d;hpb=ef79bbde537d6b9c745a7d86cb9df1d04c35590d diff --git a/plugins/dfsound/sdl.c b/plugins/dfsound/sdl.c index 45ccba2d..f6777440 100644 --- a/plugins/dfsound/sdl.c +++ b/plugins/dfsound/sdl.c @@ -70,7 +70,7 @@ void SetupSound(void) { spec.freq = 44100; spec.format = AUDIO_S16SYS; - spec.channels = iDisStereo ? 1 : 2; + spec.channels = 2; spec.samples = 512; spec.callback = SOUND_FillAudio; @@ -80,7 +80,6 @@ void SetupSound(void) { } iBufSize = BUFFER_SIZE; - if (iDisStereo) iBufSize /= 2; pSndBuffer = (short *)malloc(iBufSize * sizeof(short)); if (pSndBuffer == NULL) {