Unblock audio processing when reducing buffer size

This commit is contained in:
Jeffrey Pfau 2014-10-19 00:13:34 -07:00
parent b24b02d46c
commit 65be8610f3

View File

@ -116,7 +116,7 @@ void GBAAudioResizeBuffer(struct GBAAudio* audio, size_t samples) {
} }
} }
GBASyncUnlockAudio(audio->p->sync); GBASyncConsumeAudio(audio->p->sync);
} }
int32_t GBAAudioProcessEvents(struct GBAAudio* audio, int32_t cycles) { int32_t GBAAudioProcessEvents(struct GBAAudio* audio, int32_t cycles) {