C library for cross-platform real-time audio input and output
cmake | ||
example | ||
src | ||
test | ||
.gitignore | ||
CMakeLists.txt | ||
default.nix | ||
LICENSE | ||
README.md |
libsoundio
C library which provides cross-platform audio input and output. The API is suitable for real-time software such as digital audio workstations as well as consumer software such as music players.
This library is an abstraction; however it prioritizes performance and power over API convenience. Features that only exist in some sound backends are exposed.
This library is a work-in-progress.
How It Works
libsoundio tries these backends in order. If unable to connect to that backend, due to the backend not being installed, or the server not running, or the platform is wrong, the next backend is tried.
- JACK
- PulseAudio
- ALSA (Linux)
- CoreAudio (OSX)
- ASIO (Windows)
- DirectSound (Windows)
- OSS (BSD)
- Dummy
Contributing
libsoundio is programmed in a tiny subset of C++:
- No STL.
- No
new
ordelete
. - No
class
. All fields in structs arepublic
. - No exceptions or run-time type information.
- No references.
- No linking against libstdc++.
Roadmap
- Dummy
- PulseAudio
- JACK
- ALSA (Linux)
- CoreAudio (OSX)
- ASIO (Windows)
- DirectSound (Windows)
- OSS (BSD)