comparison src/audio/SDL_audio.c @ 630:550bccdf04bd

Added initial support for RISC OS (thanks Peter Naulls!)
author Sam Lantinga <slouken@libsdl.org>
date Thu, 29 May 2003 04:44:13 +0000
parents dad72daf44b3
children 594422ab8f9f
comparison
equal deleted inserted replaced
629:3fa401bb4bb5 630:550bccdf04bd
89 #ifdef DISKAUD_SUPPORT 89 #ifdef DISKAUD_SUPPORT
90 &DISKAUD_bootstrap, 90 &DISKAUD_bootstrap,
91 #endif 91 #endif
92 #ifdef ENABLE_DC 92 #ifdef ENABLE_DC
93 &DCAUD_bootstrap, 93 &DCAUD_bootstrap,
94 #endif
95 #ifdef DRENDERER_SUPPORT
96 &DRENDERER_bootstrap,
94 #endif 97 #endif
95 NULL 98 NULL
96 }; 99 };
97 SDL_AudioDevice *current_audio = NULL; 100 SDL_AudioDevice *current_audio = NULL;
98 101
379 default: 382 default:
380 SDL_SetError("1 (mono) and 2 (stereo) channels supported"); 383 SDL_SetError("1 (mono) and 2 (stereo) channels supported");
381 return(-1); 384 return(-1);
382 } 385 }
383 386
384 #ifdef macintosh 387 #if defined(macintosh) || defined(__riscos__)
385 /* FIXME: Need to implement PPC interrupt asm for SDL_LockAudio() */ 388 /* FIXME: Need to implement PPC interrupt asm for SDL_LockAudio() */
386 #else 389 #else
387 #if defined(__MINT__) && !defined(ENABLE_THREADS) 390 #if defined(__MINT__) && !defined(ENABLE_THREADS)
388 /* Uses interrupt driven audio, without thread */ 391 /* Uses interrupt driven audio, without thread */
389 #else 392 #else