src/audio/SDL_audio.c
changeset 398 d219b0e02f5f
parent 322 fd93a09655e3
child 509 dad72daf44b3
--- a/src/audio/SDL_audio.c	Mon Jun 10 20:42:02 2002 +0000
+++ b/src/audio/SDL_audio.c	Mon Jun 10 20:42:53 2002 +0000
@@ -83,6 +83,9 @@
 #ifdef ENABLE_AHI
 	&AHI_bootstrap,
 #endif
+#ifdef MINTAUDIO_SUPPORT
+	&MINTAUDIO_bootstrap,
+#endif
 #ifdef DISKAUD_SUPPORT
 	&DISKAUD_bootstrap,
 #endif
@@ -378,6 +381,9 @@
 #ifdef macintosh
 	/* FIXME: Need to implement PPC interrupt asm for SDL_LockAudio() */
 #else
+#if defined(__MINT__) && !defined(ENABLE_THREADS)
+	/* Uses interrupt driven audio, without thread */
+#else
 	/* Create a semaphore for locking the sound buffers */
 	audio->mixer_lock = SDL_CreateMutex();
 	if ( audio->mixer_lock == NULL ) {
@@ -385,7 +391,8 @@
 		SDL_CloseAudio();
 		return(-1);
 	}
-#endif
+#endif /* __MINT__ */
+#endif /* macintosh */
 
 	/* Calculate the silence and size of the audio specification */
 	SDL_CalculateAudioSpec(desired);