OpenAL


Jan-Nik

Active Member
Joined
Jan 5, 2009
Messages
539
Location
Germany
Hi,


I need OpenAL to port some things to the Pandora, but isn't included in the SDK.


I found some old threads, but unfortunately I couldn't find a working .so file from there. Can someone help me or do I need to build OpenAL Soft?
 
Last edited by a moderator:
OpenAL Soft is what I used for one of my ports, It's an easy compile with cmake or pndcmake(if your using sebt3's cross compiler).


If you have trouble doing this I could share the libraries and includes I generated.
 
you can get it from the word war vi pnd. Also includes header files in the include directory.
 
Maybe try the one i compiled for Slackware ?


http://slackware.ope...3-arm-1_SBo.tgz
I will try it, thanks!

OpenAL Soft is what I used for one of my ports, It's an easy compile with cmake or pndcmake(if your using sebt3's cross compiler).


If you have trouble doing this I could share the libraries and includes I generated.
That would be nice :)

you can get it from the word war vi pnd. Also includes header files in the include directory.
I could only find portaudio (don't know what that is though) header and library files. I downloaded this PND: http://repo.openpandora.org/?page=detail&app=wordwar-wordwarvi-14086
 
Oh, sorry. Then I might have confused the pnds... But as others said, openal and freealut can be downloaded and easily compiled with cmake.


Just extract, change to the directory and use pndcmake . if you are compiling in sebt3's or ivanovics toolchain or normal cmake . if you compile on the Pandora with cdevtools.


Here is the downloadlink: http://connect.creativelabs.com/openal/Downloads/Forms/AllItems.aspx


And if you still want them precompiled, let me know. I need to have a look, where I used them and post here, but as said, it is easy to compile them yourself and doesn't take long.
 
Last edited by a moderator:
Thanks Steven. I was planning to share this with Jan-Nik just got side tracked.
 
Linux-SWAT, I just tried your compiled library, it works great, but when I compile I get a warning saying "/usr/lib/libopenal.so: Unknown EABI object attribute 34" 

Anyone knows what that means? Do I need to worry about it? Sound plays fine in my test program and no complaints in terminal from running it.
 
It means that it is compiled for the same or compatible architecture but with a different toolchain/toolset.


If it still works, it's ok to use it.


Edit: openal should be available natively in zaxxon now. You should be able to get the headers from the pandora feed.
 
Last edited by a moderator:
Thanks.

Heres a small code example for ease of getting up and running if anyone is interested, its not a clean source that makes sense, I copied the meat from a YouTube tutorial, but it works and is reasonably short and uncomplex.

s2.zip
 

Attachments

  • s2.zip
    51.4 KB · Views: 159
Back
Top