A basic C++14 wrapper for the ALSA C API on Linux.
- A Linux-based system
- CMake 3.1 or higher
- The ALSA C API (libasound2-dev on Ubuntu/Debian)
- Clone this repository.
- In the cloned folder, run:
mkdir build && cd build
cmake ..
make
sudo make install
If you want the example files to be built/installed, change the cmake
command above to:
cmake .. -DWITH_EXAMPLES=ON
See the example files in the repository or the header files.