all repos — mgba @ 48e89fb5eb6aa1151d211084c177517307d73ac4

mGBA Game Boy Advance Emulator

Fix buffer size in SDL audio
Jeffrey Pfau jeffrey@endrift.com
Thu, 16 Jan 2014 00:27:15 -0800
commit

48e89fb5eb6aa1151d211084c177517307d73ac4

parent

5758964617e3198d7813f92a94c1c11c9c33d6ee

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/sdl/sdl-audio.csrc/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;