Skip to content

RustedBytes/libxaac-sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libxaac-sys

Crates.io Version

Rust FFI bindings for the vendored libxaac C library.

This crate exposes low-level bindings to the libxaac encoder and decoder APIs. By default it builds the bundled upstream sources and does not require a system installation of libxaac.

Upstream project: https://github.com/ittiam-systems/libxaac

Use https://github.com/RustedBytes/xaac-rs for your applications.

Features

  • bundled: Build the vendored libxaac sources with CMake. Enabled by default.
  • static: Prefer static linking. Enabled by default.
  • dynamic: Prefer dynamic linking when using a system-provided libxaac.

static and dynamic are mutually exclusive.

Linking Modes

Default:

[dependencies]
libxaac-sys = "0.1"

Bundled static build:

[dependencies]
libxaac-sys = { version = "0.1", features = ["bundled", "static"] }

System dynamic linking:

[dependencies]
libxaac-sys = { version = "0.1", default-features = false, features = ["dynamic"] }

System static linking:

[dependencies]
libxaac-sys = { version = "0.1", default-features = false, features = ["static"] }

License

This crate is licensed under Apache-2.0. The vendored upstream libxaac sources are included under their Apache-2.0 license in libxaac/LICENSE.

About

FFI-Binding to "Extended HE AAC Encoder and Decoder", dynamically or statically linked for UNIX.

Topics

Resources

Stars

Watchers

Forks

Contributors