From 6efe957159d6e06db9d9fb9aee6065e5e1cd3939 Mon Sep 17 00:00:00 2001 From: ds-sloth <72112344+ds-sloth@users.noreply.github.com> Date: Tue, 24 Oct 2023 19:06:49 -0400 Subject: [PATCH] SDL_n3dsaudio.c: separate mixer locks from audio device locks (cherry picked from commit 62266dbd4fa79090025317a71473eb764b2e1abe) (SDL3 audio backends don't have the LockDevice interfaces, so this just ended up being a comment.) --- src/audio/n3ds/SDL_n3dsaudio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/audio/n3ds/SDL_n3dsaudio.c b/src/audio/n3ds/SDL_n3dsaudio.c index efc26542a..31be34c3f 100644 --- a/src/audio/n3ds/SDL_n3dsaudio.c +++ b/src/audio/n3ds/SDL_n3dsaudio.c @@ -32,6 +32,7 @@ static dspHookCookie dsp_hook; static SDL_AudioDevice *audio_device; +// fully local functions related to the wavebufs / DSP, not the same as the `device->lock` SDL_Mutex! static SDL_INLINE void contextLock(SDL_AudioDevice *device) { LightLock_Lock(&device->hidden->lock);