Odin Bindings for Valve's Steam Audio library.
Generated using odin-c-bindgen
- Odin, added to PATH
- initialized odin-c-bindgen submodule (clone this repo with
--recursive) - libclang set up for odin-c-bindgen (see the requirements section in the readme)
- latest Steam Audio C API release: https://github.com/ValveSoftware/steam-audio/releases
- download and unzip steamaudio_4.X.X.zip from the release page to a
steamaudiodirectory in this repo
- Download and unzip Steam Audio C API(see above)
- Open a terminal in the repository root
- On Windows run:
./generate_bindings.bat - Verify library Version in
phonon_version.odin
Note
Since bindgen injects the imports in every file - including the phonon_version.odin file - which would result in errors when compiling with -strict-style (unused imports in that file) we are manually authoring the version number constants for now.