aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfsound/sdl.c
diff options
context:
space:
mode:
authornotaz2011-03-01 00:48:20 +0200
committernotaz2011-03-01 17:35:19 +0200
commit97ea407715c0eafc8d73ffc5477f6d7e6ad8f20b (patch)
tree039162811486c4061487e01de966597ab055c056 /plugins/dfsound/sdl.c
parent9cf0ddbcdf4a2d72348df35695d09b36d23a2d0a (diff)
downloadpcsx_rearmed-97ea407715c0eafc8d73ffc5477f6d7e6ad8f20b.tar.gz
pcsx_rearmed-97ea407715c0eafc8d73ffc5477f6d7e6ad8f20b.tar.bz2
pcsx_rearmed-97ea407715c0eafc8d73ffc5477f6d7e6ad8f20b.zip
spu: drop unused mono code
also merge the mix buffers - the idea was to make use of neon there but I've decided againt it, it wouldn't improve things much according to profiling.
Diffstat (limited to 'plugins/dfsound/sdl.c')
-rw-r--r--plugins/dfsound/sdl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/dfsound/sdl.c b/plugins/dfsound/sdl.c
index 45ccba2..f677744 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) {