Openal -open Audio Library- 2.0.7.0
Article title: "Migrating from Creative OpenAL 2.0.7.0 to OpenAL Soft"
Version: 2.0.7.0
Release Status: Stable
Type: Audio API / Library openal -open audio library- 2.0.7.0
Example (conceptual C flow):
device = alcOpenDevice(NULL);
context = alcCreateContext(device, NULL);
alcMakeContextCurrent(context);
alGenBuffers(1, &buf);
alBufferData(buf, AL_FORMAT_STEREO16, data, size, freq);
alGenSources(1, &src);
alSourcei(src, AL_BUFFER, buf);
alSource3f(src, AL_POSITION, x, y, z);
alSourcePlay(src);
/* ... */
alDeleteSources(1, &src);
alDeleteBuffers(1, &buf);
alcDestroyContext(context);
alcCloseDevice(device);
Most distributions include OpenAL Soft 2.0.7.0 in their repos: Article title: "Migrating from Creative OpenAL 2
# Debian/Ubuntu
sudo apt-get install libopenal-dev
The easiest way to obtain openal -open audio library- 2.0.7.0 on Windows is via the OpenAL Soft binaries. Version: 2
Register the library via regsvr32 if needed (rarely required).
