From 878ec5f72b969dba3402754a975409c07c9f9b5a Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 13 Dec 2005 16:40:12 +0000 Subject: [PATCH] Date: Tue, 13 Dec 2005 13:33:50 +0000 From: "alan buckley" Subject: Patch to fix audio locking on RISC OS When threads were not disabled on a RISC OS build the audio mixer mutex was not created. --- src/audio/SDL_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c index a9d77d5ca..6bbac3433 100644 --- a/src/audio/SDL_audio.c +++ b/src/audio/SDL_audio.c @@ -423,7 +423,7 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained) return(-1); } -#if defined(macintosh) || (defined(__riscos__) && !defined(DISABLE_THREADS)) +#if defined(macintosh) || (defined(__riscos__) && defined(DISABLE_THREADS)) /* FIXME: Need to implement PPC interrupt asm for SDL_LockAudio() */ #else #if defined(__MINT__) && !defined(ENABLE_THREADS)