#libopus #opus #codec

opusic-c

High level bindings to libopus

8 releases (1 stable)

1.5.2 Feb 21, 2025
1.5.2-beta.7 Jan 21, 2025
1.5.2-beta.6 Dec 14, 2024

#324 in Audio

Download history 227/week @ 2024-11-27 113/week @ 2024-12-04 279/week @ 2024-12-11 17/week @ 2024-12-18 15/week @ 2025-01-08 52/week @ 2025-01-15 53/week @ 2025-01-22 15/week @ 2025-01-29 8/week @ 2025-02-05 134/week @ 2025-02-19 12/week @ 2025-02-26 5/week @ 2025-03-05 7/week @ 2025-03-12

158 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
~602K SLoC