Fix buffer size in SDL audio
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Jan 2014 00:27:15 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/sdl/sdl-audio.c
→
src/platform/sdl/sdl-audio.c
@@ -21,7 +21,7 @@
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;