diff src/audio/dmedia/SDL_irixaudio.c @ 605:6399f4e90211

IRIX patches from Andrea Suatoni
author Sam Lantinga <slouken@libsdl.org>
date Thu, 06 Mar 2003 06:12:41 +0000
parents e8157fcb3114
children 6e6248801043
line wrap: on
line diff
--- a/src/audio/dmedia/SDL_irixaudio.c	Thu Mar 06 06:02:16 2003 +0000
+++ b/src/audio/dmedia/SDL_irixaudio.c	Thu Mar 06 06:12:41 2003 +0000
@@ -129,7 +129,7 @@
 		mixbuf = NULL;
 	}
 	if ( audio_port != NULL ) {
-		ALcloseport(audio_port);
+		alClosePort(audio_port);
 		audio_port = NULL;
 	}
 }
@@ -180,7 +180,7 @@
 	     (alSetWidth(audio_config, width) >= 0) &&
 	     (alSetQueueSize(audio_config, spec->samples*2) >= 0) &&
 	     (alSetChannels(audio_config, spec->channels) >= 0) ) {
-		audio_port = ALopenport("SDL audio", "w", audio_config);
+		audio_port = alOpenPort("SDL audio", "w", audio_config);
 	}
 	alFreeConfig(audio_config);
 	if( audio_port == NULL ) {