iDevGames Forums
OpenAL install troubles - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: OpenAL install troubles (/thread-1880.html)



OpenAL install troubles - m3the01 - Jan 21, 2009 02:30 PM

Ive been a long time graphics programmer, but ive been having a hell of a time getting started with OpenAL.

I tried adding -framework OpenAL to my makefile and it looks in /System/Frameworks/ and grabs OpenAL.

However this version seems to be different than everyone is seems to be using in tutorials and such ive only got these three header files available,

MacOSX_OALExtensions.h
al.h
alc.h


Can someone point me to the correct location for some demo or api so i can get started on this,

I tried installing some older stuff that has the alut.h files but nothing worked on the mac:-(

Ur help is greatly appreciated!!


OpenAL install troubles - AnotherJake - Jan 21, 2009 02:45 PM

I still haven't seen any tutorials on OpenAL for iPhone, so if you happen to find one, let us know!

I figured it out by looking at the SoundEngine class in CrashLanding. Unfortunately, Apple doesn't have CrashLanding available anymore. You might still find it in the oolong engine though. Be forwarned: SoundEngine is a bit convoluted to pick apart at first.

Another way you might find an example of how to use OpenAL on iPhone, and perhaps easier, is Apple's oalTouch sample.


OpenAL install troubles - m3the01 - Jan 21, 2009 03:11 PM

haha still have crashlanding...

Nice!!


OpenAL install troubles - DaveJ - Feb 20, 2009 12:46 PM

The version of OpenAL in /System/Frameworks is NOT the correct version. If you move or rename the file, then XCode will find the correct version in the Developer SDKs.