navi homeaboutscreenshotsdownloaddevelopmentforum


OpenAL (Open Audio Library) is a free software cross-platform audio API. It is designed for efficient rendering of multichannel three dimensional positional audio. Its API style and conventions deliberately resemble that of OpenGL.

Download and Install

You need the OpenAL and the FreeAlut Package. FreeAlut? are utilities for OpenAL and depend on it.

Install-Script for installing the two packages to a predefined directory:



cd openal-0.0.8
./configure --prefix=${INSTALL_DIR}
make clean
make && make install
cd ..
cd freealut-1.1.0
env CFLAGS="-g -I $INSTALL_DIR/include -L$INSTALL_DIR/lib" ./configure --prefix=${INSTALL_DIR} 
make clean
make && make install
cd ..

This will copy the includes and create the shared and linked versions of the libs (and also pkg.copnfig)

For using OpenAL and ALUT, you need to

#include <al.h>
#include <alc.h>
#include <alut.h>

and link against at libopenal and libalut

OpenAL Tutorial
Wikipedia about OpenAL
OpenAL official Site
Programmers Guide by Creative Labs

Last modified 9 years ago Last modified on Nov 29, 2007, 2:04:18 PM