Contents:
ALURE is a utility library to help manage common tasks with OpenAL applications. This includes device enumeration and initialization, file loading, and streaming. It is LGPL licensed, allowing it to be used in open- and closed-source programs, freeware or commercial.
The purpose of this library is to provide pre-made functionality that would otherwise be repetitive or difficult to (re)code for various projects and platforms, such as loading a sound file into an OpenAL buffer and streaming an audio file through a buffer queue. Support for different formats is consistant across platforms, so no special checks are needed when loading files, and all formats are handled through the same API.
Currently ALURE includes a basic .wav and .aif file reader, and can leverage external libraries such as libSndFile (for extended wave formats and several others), VorbisFile (for Ogg Vorbis), and FLAC (for FLAC and Ogg FLAC). External libraries can also be dynamically loaded at run-time, or individually disabled outright at compile time.
Features include:
Building ALURE needs CMake version 2.4 or newer (older versions may possibly work as well, but are untested). Autotools is not supported.
ALURE is provided as a source tarball and MinGW-compatible Win32 binaries, both dynamic and static using dynamic loading (note for MSVC users: the provided DLL should work for apps compiled with MSVC, however you may need to generate an import lib from the DLL; contributions for an import lib and static lib are welcome). Please try it out and let me know how it works. :-)
alure-1.0-src.tar.bz2
alure-1.0-win32-bin.zip
Online documentation can be found here.
A more up-to-date GIT repository is available at repo.or.cz. You can get it by running:
git clone git://repo.or.cz/alure.git alure
Note that you need to install GIT to download it.
To install ALURE, first extract it. It will automatically extract itself into the alure-<version>/ directory. Using your favorite shell, go into the build/ directory, and run:
cmake ..
Assuming configuration went well, you can then build it, typically using GNU Make.
Click here to go back.