Sign in to follow this  
subflood

OpenAL and Linux

Recommended Posts

I want to use music in my game that I made in Linux but I'm not sure how to do it. I know there are tutorials out there for OpenAL but I still need some help. 1. What header files do I need to include? So far I have included al.h but do I need anything else? 2. Since I'm working in Linux can I instead play ogg files rather than wav? If yes is it any different than playing wav? 3. I know there is a tutorial written here on gamedev on OpenAL but I was wondering if I could play ogg files will it make a difference?

Share this post


Link to post
Share on other sites
cvs -d:pserver:guest@opensource.creative.com:/usr/local/cvs-repository login
(password: guest)
cvs -d:pserver:guest@opensource.creative.com:/usr/local/cvs-repository co

after download the file, do something like this:
su
cd openal/linux

sh ./autogen.sh
./configure --enable-prefix=/usr/local
make
make install

to make the library

for more information, go to
www.openal.org
http://www.edenwaith.com/products/pige/tutorials/openal.php#download

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this