Open Audio Library
Official Open Audio Library site : http://www.openal.org
Official OpenAL Soft site : http://kcat.strangesoft.net/openal.html
Enable Open Audio Library module
DEFINEs
If you want to enable Open Audio Library module, your C++ compiler must add the following DEFINEs:ENABLE_HOST_OPENAL
Source files
C++ files must include the following two:- CiosAudio/Platforms/Linux/CaOpenAL.hpp
- CiosAudio/Platforms/Linux/CaOpenAL.cpp
If you are using another platform, such as Linux, Windows, Android or FreeBSD, just replace Linux into platform name.
Qt
If you are using Qt, in the following file:CiosAudio/Platforms/Linux/HostAPIs.pri
Enable the following setting:HostAPIs += OpenAL
If you are using another platform, such as Linux, Windows, Android or FreeBSD, just replace MacOSX into platform name.
Libraries
Open Audio Layer need to link with different library in different platforms. If your audio card vendor do supply OpenAL library, please refer to the document vendor supplied.If you are using OpenAL Soft verion of OpenAL implementation:
Windows
OpenAL32.libMac OS X
libopenal.aOn Mac OS X, only Core Audio is recommented. We do not suggest you to use OpenAL in Mac OS X. Actually OpenAL uses Core Audio as underlying mechanism.