Miku AuahDark b9964119f5 Apply OpenAL-soft patch to fix Android audio recording. 3 years ago
..
al 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
alc b9964119f5 Apply OpenAL-soft patch to fix Android audio recording. 3 years ago
cmake 904cc75ba8 Update OpenAL-soft to 1.21.1 4 years ago
common 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
core 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
docs 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
examples 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
hrtf 904cc75ba8 Update OpenAL-soft to 1.21.1 4 years ago
include 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
presets 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
resources 904cc75ba8 Update OpenAL-soft to 1.21.1 4 years ago
router 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
utils 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
.gitignore 904cc75ba8 Update OpenAL-soft to 1.21.1 4 years ago
.travis.yml 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
BSD-3Clause 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
CMakeLists.txt 83fd21b130 Fixed indentation from last commit. 3 years ago
COPYING 1f9c102832 Update OpenAL Soft to 1.19.1. 7 years ago
ChangeLog 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
OpenALConfig.cmake.in 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
README.md 5be7c968b8 Update OpenAL Soft to commit 414b56edec5441211dc924fef365c54267c04f1c 7 years ago
XCompile-Android.txt 904cc75ba8 Update OpenAL-soft to 1.21.1 4 years ago
XCompile.txt e9d77ef766 Added missing changes to the OpenAL-Soft update. 10 years ago
alsoftrc.sample 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
appveyor.yml 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
config.h.in 2b15394df5 Update OpenAL-Soft to 1.22.0 3 years ago
openal.pc.in 5be7c968b8 Update OpenAL Soft to commit 414b56edec5441211dc924fef365c54267c04f1c 7 years ago
opensl_latency.cpp 0298822ab9 OpenAL-soft: Add love-android-specific patches. 3 years ago
version.cmake b160006eb1 Update OpenAL Soft to 1.18.2 8 years ago
version.h.in 904cc75ba8 Update OpenAL-soft to 1.21.1 4 years ago

README.md

OpenAL soft

master branch CI status : Build Status Windows Build Status

OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL 3D audio API. It's forked from the open-sourced Windows version available originally from openal.org's SVN repository (now defunct). OpenAL provides capabilities for playing audio in a virtual 3D environment. Distance attenuation, doppler shift, and directional sound emitters are among the features handled by the API. More advanced effects, including air absorption, occlusion, and environmental reverb, are available through the EFX extension. It also facilitates streaming audio, multi-channel buffers, and audio capture.

More information is available on the official website

Source Install

To install OpenAL Soft, use your favorite shell to go into the build/ directory, and run:

cmake ..

Assuming configuration went well, you can then build it, typically using GNU Make (KDevelop, MSVC, and others are possible depending on your system setup and CMake configuration).

Please Note: Double check that the appropriate backends were detected. Often, complaints of no sound, crashing, and missing devices can be solved by making sure the correct backends are being used. CMake's output will identify which backends were enabled.

For most systems, you will likely want to make sure ALSA, OSS, and PulseAudio were detected (if your target system uses them). For Windows, make sure DirectSound was detected.

Utilities

The source package comes with an informational utility, openal-info, and is built by default. It prints out information provided by the ALC and AL sub- systems, including discovered devices, version information, and extensions.

Configuration

OpenAL Soft can be configured on a per-user and per-system basis. This allows users and sysadmins to control information provided to applications, as well as application-agnostic behavior of the library. See alsoftrc.sample for available settings.

Acknowledgements

Special thanks go to:

  • Creative Labs for the original source code this is based off of.
  • Christopher Fitzgerald for the current reverb effect implementation, and helping with the low-pass and HRTF filters.
  • Christian Borss for the 3D panning code previous versions used as a base.
  • Ben Davis for the idea behind a previous version of the click-removal code.
  • Richard Furse for helping with my understanding of Ambisonics that is used by the various parts of the library.