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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401207
This commit is contained in:
Sam Lantinga 2005-12-13 16:40:12 +00:00
parent f57d6fbb0c
commit bdccb5d179

View file

@ -423,7 +423,7 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained)
return(-1); 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() */ /* FIXME: Need to implement PPC interrupt asm for SDL_LockAudio() */
#else #else
#if defined(__MINT__) && !defined(ENABLE_THREADS) #if defined(__MINT__) && !defined(ENABLE_THREADS)