Mercurial > sdl-ios-xcode
comparison src/audio/SDL_audio.c @ 1204:f9794ee91dfc
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.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 13 Dec 2005 16:40:12 +0000 |
parents | 173c063d4f55 |
children | c9b51268668f |
comparison
equal
deleted
inserted
replaced
1203:a67c8b2ae356 | 1204:f9794ee91dfc |
---|---|
421 default: | 421 default: |
422 SDL_SetError("1 (mono) and 2 (stereo) channels supported"); | 422 SDL_SetError("1 (mono) and 2 (stereo) channels supported"); |
423 return(-1); | 423 return(-1); |
424 } | 424 } |
425 | 425 |
426 #if defined(macintosh) || (defined(__riscos__) && !defined(DISABLE_THREADS)) | 426 #if defined(macintosh) || (defined(__riscos__) && defined(DISABLE_THREADS)) |
427 /* FIXME: Need to implement PPC interrupt asm for SDL_LockAudio() */ | 427 /* FIXME: Need to implement PPC interrupt asm for SDL_LockAudio() */ |
428 #else | 428 #else |
429 #if defined(__MINT__) && !defined(ENABLE_THREADS) | 429 #if defined(__MINT__) && !defined(ENABLE_THREADS) |
430 /* Uses interrupt driven audio, without thread */ | 430 /* Uses interrupt driven audio, without thread */ |
431 #else | 431 #else |