Fix GBASyncProduceAudio signature
Jeffrey Pfau jeffrey@endrift.com
Fri, 17 Oct 2014 23:40:39 -0700
2 files changed,
2 insertions(+),
2 deletions(-)
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -577,7 +577,7 @@ bool GBASyncDrawingFrame(struct GBASync* sync) {
return sync->videoFrameSkip <= 0; } -void GBASyncProduceAudio(struct GBASync* sync, int wait) { +void GBASyncProduceAudio(struct GBASync* sync, bool wait) { if (sync->audioWait && wait) { // TODO loop properly in event of spurious wakeups ConditionWait(&sync->audioRequiredCond, &sync->audioBufferMutex);
M
src/gba/gba-thread.h
→
src/gba/gba-thread.h
@@ -121,7 +121,7 @@ bool GBASyncWaitFrameStart(struct GBASync* sync, int frameskip);
void GBASyncWaitFrameEnd(struct GBASync* sync); bool GBASyncDrawingFrame(struct GBASync* sync); -void GBASyncProduceAudio(struct GBASync* sync, int wait); +void GBASyncProduceAudio(struct GBASync* sync, bool wait); void GBASyncLockAudio(struct GBASync* sync); void GBASyncUnlockAudio(struct GBASync* sync); void GBASyncConsumeAudio(struct GBASync* sync);