From: curt Date: Mon, 26 Apr 2004 14:55:27 +0000 (+0000) Subject: Missed one fix for Mac OS. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9d7fd79e7651e830ccb9e75326cf7ed969638fed;p=simgear.git Missed one fix for Mac OS. --- diff --git a/simgear/sound/openal_test1.cxx b/simgear/sound/openal_test1.cxx index 90aac164..55127b2b 100644 --- a/simgear/sound/openal_test1.cxx +++ b/simgear/sound/openal_test1.cxx @@ -99,7 +99,11 @@ int main( int argc, char *argv[] ) { } // Load the sample file +#if defined (__APPLE__) + alutLoadWAVFile( (ALbyte *)"jet.wav", &format, &data, &size, &freq ); +#else alutLoadWAVFile( (ALbyte *)"jet.wav", &format, &data, &size, &freq, &loop ); +#endif if (alGetError() != AL_NO_ERROR) { SG_LOG( SG_GENERAL, SG_ALERT, "Failed to load wav file."); }