X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fdfsound%2Fsdl.c;h=f6777440107898f7b91c0ff5d4383ea947fab753;hb=97ea407715c0eafc8d73ffc5477f6d7e6ad8f20b;hp=45ccba2dde7c8ffac6489e5a98d1bd88541b53fc;hpb=9cf0ddbcdf4a2d72348df35695d09b36d23a2d0a;p=pcsx_rearmed.git 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) {