Skip to content

DoumanAsh/opusic-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • bundled - Enables use of bundled OPUS code to build static library. Enabled by default. Refer to opusic-sys for details
  • dred - Enables experimental DRED decoder. Disabled by default.
  • osce - Enables OSCE. Disabled by default.
  • no-hardening - disable run-time checks that are cheap and safe for use in production. Disabled by default.
  • no-stack-protector = disable stack protection. Disabled by default.
  • no-fortify-source - disable protection against buffer overflows. Disabled by default.

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

About

High level bindings to libopus

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages