#libopus #opus #codec

opusic-c

High level bindings to libopus

6 releases

1.5.2-beta.6 Dec 14, 2024
1.5.2-beta.4 Dec 8, 2024
1.5.2-beta.3 Dec 2, 2024
1.5.2-beta.2 Dec 1, 2024

#397 in Audio

Download history 259/week @ 2024-11-29 96/week @ 2024-12-06 277/week @ 2024-12-13 4/week @ 2024-12-20

385 downloads per month

BSD-3-Clause

110KB
2K SLoC

opusic-c

Rust Crates.io Documentation

High level bindings to libopus

Target version 1.5.2

Allocator

This library uses Rust's allocator whenever possible

Features

  • dred - Enables experimental DRED decoder

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.

Requirements

  • cmake

Optional

  • ninja - When present, build script defaults to use corresponding CMake's generator

Dependencies

~21MB
~604K SLoC