From 48e89fb5eb6aa1151d211084c177517307d73ac4 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Thu, 16 Jan 2014 00:27:15 -0800 Subject: [PATCH] Fix buffer size in SDL audio --- src/platform/sdl/sdl-audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/sdl/sdl-audio.c b/src/platform/sdl/sdl-audio.c index 28a90a69a..759d746b2 100644 --- a/src/platform/sdl/sdl-audio.c +++ b/src/platform/sdl/sdl-audio.c @@ -21,7 +21,7 @@ int GBASDLInitAudio(struct GBASDLAudio* context) { context->desiredSpec.freq = 44100; context->desiredSpec.format = AUDIO_S16SYS; context->desiredSpec.channels = 2; - context->desiredSpec.samples = GBA_AUDIO_SAMPLES >> 2; + context->desiredSpec.samples = GBA_AUDIO_SAMPLES; context->desiredSpec.callback = _GBASDLAudioCallback; context->desiredSpec.userdata = context; context->audio = 0;