Fix buffer size in SDL audio

This commit is contained in:
Jeffrey Pfau 2014-01-16 00:27:15 -08:00
parent 5758964617
commit 48e89fb5eb
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ int GBASDLInitAudio(struct GBASDLAudio* context) {
context->desiredSpec.freq = 44100; context->desiredSpec.freq = 44100;
context->desiredSpec.format = AUDIO_S16SYS; context->desiredSpec.format = AUDIO_S16SYS;
context->desiredSpec.channels = 2; context->desiredSpec.channels = 2;
context->desiredSpec.samples = GBA_AUDIO_SAMPLES >> 2; context->desiredSpec.samples = GBA_AUDIO_SAMPLES;
context->desiredSpec.callback = _GBASDLAudioCallback; context->desiredSpec.callback = _GBASDLAudioCallback;
context->desiredSpec.userdata = context; context->desiredSpec.userdata = context;
context->audio = 0; context->audio = 0;