14 releases

0.4.1 Jun 19, 2023
0.3.6 Oct 19, 2021
0.3.5 Mar 25, 2021
0.3.4 Jul 4, 2020
0.2.2 Nov 13, 2018

#1176 in Parser implementations

Download history 322/week @ 2023-08-17 321/week @ 2023-08-24 323/week @ 2023-08-31 354/week @ 2023-09-07 236/week @ 2023-09-14 163/week @ 2023-09-21 151/week @ 2023-09-28 153/week @ 2023-10-05 151/week @ 2023-10-12 103/week @ 2023-10-19 114/week @ 2023-10-26 127/week @ 2023-11-02 200/week @ 2023-11-09 153/week @ 2023-11-16 161/week @ 2023-11-23 189/week @ 2023-11-30

713 downloads per month
Used in 2 crates (via magnum-opus)

BSL-1.0 license

3MB
60K SLoC

C 41K SLoC // 0.2% comments Shell 8K SLoC // 0.2% comments M4 7.5K SLoC // 0.2% comments Visual Studio Project 1K SLoC GNU Style Assembly 1K SLoC Rust 558 SLoC // 0.0% comments Automake 324 SLoC // 0.1% comments Perl 264 SLoC // 0.2% comments Visual Studio Solution 168 SLoC Python 77 SLoC // 0.2% comments Batch 20 SLoC

opusic-sys

Rust Crates.io Documentation

Bindings to libopus

Target version 1.4

Setup

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.

Android build

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.

Re-generate bindings

The feature build-bindgen is used to generate bindings.

To use it set env variable LIBCLANG_PATH to directory that contains clang binaries

Requirements

  • cmake

Dependencies