Go to file
Chris Robinson 9992cef915 Remove now unneeded inldefs.c
All code using inline functions is now C++, so will generate callable functions
as-needed.
2018-11-17 17:52:23 -08:00
Alc Remove now unneeded inldefs.c 2018-11-17 17:52:23 -08:00
build Move the default out-of-tree build dir to build 2009-09-12 17:54:27 -07:00
cmake Don't cache SDL2_LIBRARY_TEMP with CMake 2018-03-29 18:10:58 -07:00
common Don't pass the current thread to althrd_setname 2018-11-17 06:07:04 -08:00
docs Fix misspellings of quadraphonic 2018-03-30 09:18:17 -07:00
examples Move altimespec_get and al_nssleep to examples' common code 2018-11-10 21:09:54 -08:00
hrtf Update default HRTFs for 24-bit samples 2017-10-22 15:45:30 -07:00
include/AL Add simple descriptions to some extension formats in alext.h 2018-03-29 17:18:24 -07:00
native-tools Fix compilation with MSVC 2018-11-16 23:01:40 -08:00
OpenAL32 Convert threads.c to C++ 2018-11-17 05:31:29 -08:00
presets Fix misspellings of quadraphonic 2018-03-30 09:18:17 -07:00
router Clean up the DriverIface in its destructor 2018-10-30 17:03:21 -07:00
utils Remove the old unused bsincgen.c 2018-11-17 07:50:46 -08:00
.gitignore Update .gitignore 2018-04-14 13:02:21 -07:00
.travis.yml Also extract the Android support includes 2018-11-06 20:04:28 -08:00
alsoftrc.sample Alsoft-config: Add autowah effect 2018-07-25 12:51:09 -07:00
appveyor.yml Build the router with AppVeyor 2018-10-30 15:38:11 -07:00
ChangeLog Update changelog 2018-09-26 08:23:48 -07:00
CMakeLists.txt Remove now unneeded inldefs.c 2018-11-17 17:52:23 -08:00
config.h.in Remove ASSUME_ALIGNED 2018-11-17 17:35:52 -08:00
COPYING Fix COPYING 2018-07-02 17:09:53 -07:00
openal.pc.in Specify Libs.private for the pkg-config file 2018-03-29 18:57:48 -07:00
README.md Additional corrections as mentionned in the PR 2018-01-28 03:26:02 +01:00
version.cmake More robustly generate the git commit ID and branch 2016-12-21 11:41:45 -08:00
version.h.in Trace the commit ID and branch the library was built from 2016-12-21 01:12:47 -08:00
XCompile-Android.txt Add a toolchain for Android cross-compiling 2014-11-10 17:56:48 -08:00
XCompile.txt Update cross-compiler toolchain to work better with Qt 2014-11-06 23:18:42 -08:00

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.