From 691600902c18fbee18ba8ab12cefed8403b3c7ae Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 9 Jul 2017 00:52:53 -0700 Subject: [PATCH] SDL: Remove writing back obtained samples (fixes #768) --- CHANGES | 1 + src/platform/sdl/sdl-audio.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 3909b6eea..d10243b3a 100644 --- a/CHANGES +++ b/CHANGES @@ -184,6 +184,7 @@ Misc: - GB Serialize: Add MBC state serialization - Qt: Dismiss game crashing/failing dialogs when a new game loads - GBA Memory: Call crash callbacks regardless of if hard crash is enabled + - SDL: Remove writing back obtained samples (fixes mgba.io/i/768) 0.6 beta 1: (2017-06-29) - Initial beta for 0.6 diff --git a/src/platform/sdl/sdl-audio.c b/src/platform/sdl/sdl-audio.c index a58547497..9140261f8 100644 --- a/src/platform/sdl/sdl-audio.c +++ b/src/platform/sdl/sdl-audio.c @@ -40,7 +40,6 @@ bool mSDLInitAudio(struct mSDLAudio* context, struct mCoreThread* threadContext) mLOG(SDL_AUDIO, ERROR, "Could not open SDL sound system"); return false; } - context->samples = context->obtainedSpec.samples; context->core = 0; if (threadContext) {