Date: Tue, 13 Dec 2005 13:33:50 +0000
authorSam Lantinga <slouken@libsdl.org>
Tue, 13 Dec 2005 16:40:12 +0000
changeset 1204f9794ee91dfc
parent 1203 a67c8b2ae356
child 1205 2ab21d9a20da
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
     1.1 --- a/src/audio/SDL_audio.c	Mon Dec 12 11:14:29 2005 +0000
     1.2 +++ b/src/audio/SDL_audio.c	Tue Dec 13 16:40:12 2005 +0000
     1.3 @@ -423,7 +423,7 @@
     1.4  		return(-1);
     1.5  	}
     1.6  
     1.7 -#if defined(macintosh) || (defined(__riscos__) && !defined(DISABLE_THREADS))
     1.8 +#if defined(macintosh) || (defined(__riscos__) && defined(DISABLE_THREADS))
     1.9  	/* FIXME: Need to implement PPC interrupt asm for SDL_LockAudio() */
    1.10  #else
    1.11  #if defined(__MINT__) && !defined(ENABLE_THREADS)