src/audio/SDL_audio.c
changeset 398 d219b0e02f5f
parent 322 fd93a09655e3
child 509 dad72daf44b3
     1.1 --- a/src/audio/SDL_audio.c	Mon Jun 10 20:42:02 2002 +0000
     1.2 +++ b/src/audio/SDL_audio.c	Mon Jun 10 20:42:53 2002 +0000
     1.3 @@ -83,6 +83,9 @@
     1.4  #ifdef ENABLE_AHI
     1.5  	&AHI_bootstrap,
     1.6  #endif
     1.7 +#ifdef MINTAUDIO_SUPPORT
     1.8 +	&MINTAUDIO_bootstrap,
     1.9 +#endif
    1.10  #ifdef DISKAUD_SUPPORT
    1.11  	&DISKAUD_bootstrap,
    1.12  #endif
    1.13 @@ -378,6 +381,9 @@
    1.14  #ifdef macintosh
    1.15  	/* FIXME: Need to implement PPC interrupt asm for SDL_LockAudio() */
    1.16  #else
    1.17 +#if defined(__MINT__) && !defined(ENABLE_THREADS)
    1.18 +	/* Uses interrupt driven audio, without thread */
    1.19 +#else
    1.20  	/* Create a semaphore for locking the sound buffers */
    1.21  	audio->mixer_lock = SDL_CreateMutex();
    1.22  	if ( audio->mixer_lock == NULL ) {
    1.23 @@ -385,7 +391,8 @@
    1.24  		SDL_CloseAudio();
    1.25  		return(-1);
    1.26  	}
    1.27 -#endif
    1.28 +#endif /* __MINT__ */
    1.29 +#endif /* macintosh */
    1.30  
    1.31  	/* Calculate the silence and size of the audio specification */
    1.32  	SDL_CalculateAudioSpec(desired);