src/audio/SDL_audio.c
changeset 1406 39ca9a4b22f3
parent 1402 d910939febfa
child 1408 ceb5c2fec4f1
--- a/src/audio/SDL_audio.c	Tue Feb 21 09:11:53 2006 +0000
+++ b/src/audio/SDL_audio.c	Tue Feb 21 09:14:58 2006 +0000
@@ -436,7 +436,7 @@
 	audio->enabled = 1;
 	audio->paused  = 1;
 
-#if SDL_AUDIO_DRIVER_AHI
+#if !SDL_AUDIO_DRIVER_AHI
 
 /* AmigaOS opens audio inside the main loop */
 	audio->opened = audio->OpenAudio(audio, &audio->spec)+1;
@@ -511,7 +511,7 @@
 		}
 	}
 
-#if SDL_AUDIO_DRIVER_AHI
+#if !SDL_AUDIO_DRIVER_AHI
 	/* Start the audio thread if necessary */
 	switch (audio->opened) {
 		case  1:
@@ -611,7 +611,7 @@
 			SDL_FreeAudioMem(audio->convert.buf);
 
 		}
-#if SDL_AUDIO_DRIVER_AHI
+#if !SDL_AUDIO_DRIVER_AHI
 		if ( audio->opened ) {
 			audio->CloseAudio(audio);
 			audio->opened = 0;