OpenAL comes with Tiger, but what should I do for Panther?
I'm done with the graphics and physics for my game, so now I'm looking into sound. I'm going to use OpenAL, since, well, OpenAL looks pretty awesome.
That said, I'm developing on Tiger, and I see from Apple's OpenAL faq, that they've got version 1.2, presumably pretty well optimized, since Apple's FAQ says its optimized for games and so on.
Now, obviously, I could download the OpenAL framework from Creative -- which dates to sep 10, 2004, and is version 1.0 -- and I could run install_tool to make it embeddable in my game's Contents/Frameworks/ folder.
Should I do this? This would allow for Panther support which is a Good Thing. But then, I wouldn't have the newest ( and presumable most optimized ) version.
What do you guys think?
Also, is there a way to have the game, at run-time, determine which to use?
That said, I'm developing on Tiger, and I see from Apple's OpenAL faq, that they've got version 1.2, presumably pretty well optimized, since Apple's FAQ says its optimized for games and so on.
Now, obviously, I could download the OpenAL framework from Creative -- which dates to sep 10, 2004, and is version 1.0 -- and I could run install_tool to make it embeddable in my game's Contents/Frameworks/ folder.
Should I do this? This would allow for Panther support which is a Good Thing. But then, I wouldn't have the newest ( and presumable most optimized ) version.
What do you guys think?
Also, is there a way to have the game, at run-time, determine which to use?
You can get the source to the Tiger version of AL from CVS. It builds and runs just fine on Panther. You can then embed that in your app bundle as you would any other framework.
If you want to choose which to load at run-time, I think you'd have to use dlopen or CFBundle or something...
If you want to choose which to load at run-time, I think you'd have to use dlopen or CFBundle or something...
Well, openal.framework is only 296kb, so I guess packaging it is no big deal. Which CVS has it? Creative's or Apple's?
whatever the instructions at http://openal.org/ say -- creative's, I think.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| fmod on tiger (10.4.11) | AcidZombie24 | 2 | 2,293 |
Sep 10, 2008 01:05 PM Last Post: AcidZombie24 |
|
| Installing SDL on tiger | AcidZombie24 | 6 | 3,138 |
Jul 17, 2008 11:54 AM Last Post: szymczyk |
|
| SDL_image + libpng + Panther = version mismatch | BobbyWatson | 2 | 3,430 |
Oct 23, 2005 03:55 AM Last Post: BobbyWatson |
|
| Tiger breaks SDL? | sealfin | 7 | 4,608 |
Jun 10, 2005 07:13 AM Last Post: sealfin |
|
| Panther + BoingX | MacFiend | 4 | 2,948 |
Jan 10, 2004 08:12 AM Last Post: MacFiend |
|

