diff options
author | notaz | 2011-03-01 00:48:20 +0200 |
---|---|---|
committer | notaz | 2011-03-01 17:35:19 +0200 |
commit | 97ea407715c0eafc8d73ffc5477f6d7e6ad8f20b (patch) | |
tree | 039162811486c4061487e01de966597ab055c056 /plugins/dfsound/sdl.c | |
parent | 9cf0ddbcdf4a2d72348df35695d09b36d23a2d0a (diff) | |
download | pcsx_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.c | 3 |
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) { |