Bindings to libopus
Target version 1.5.2
This crate has the same license requirements as C source code.
All modifications to the source code are described in opus.patch
If the OPUS_LIB_DIR
environment variable is set, it will be searched for the opus
library. Otherwise, a static library will be built automatically.
When building for android, library requires presence of env variable ANDROID_NDK_HOME
in order to supply
cmake with toolchain file and correct target arch.
The feature build-bindgen
is used to generate bindings.
To use it set env variable LIBCLANG_PATH
to directory that contains clang binaries
cmake
ninja
- When present, build script defaults to use corresponding CMake's generator