IRIX patches from Andrea Suatoni
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40606
This commit is contained in:
parent
bb0214c5a3
commit
205a296adf
5 changed files with 24 additions and 10 deletions
|
@ -129,7 +129,7 @@ static void AL_CloseAudio(_THIS)
|
|||
mixbuf = NULL;
|
||||
}
|
||||
if ( audio_port != NULL ) {
|
||||
ALcloseport(audio_port);
|
||||
alClosePort(audio_port);
|
||||
audio_port = NULL;
|
||||
}
|
||||
}
|
||||
|
@ -180,7 +180,7 @@ static int AL_OpenAudio(_THIS, SDL_AudioSpec *spec)
|
|||
(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 ) {
|
||||
|
|
|
@ -32,7 +32,11 @@ static char rcsid =
|
|||
#ifndef _SDL_nasaudio_h
|
||||
#define _SDL_nasaudio_h
|
||||
|
||||
#ifdef __sgi
|
||||
#include <nas/audiolib.h>
|
||||
#else
|
||||
#include <audio/audiolib.h>
|
||||
#endif
|
||||
#include <sys/time.h>
|
||||
#include "SDL_sysaudio.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue