This package was created to provide an easy-to-maintain binding for libopus
The current release supports libopus v1.4
This package is supposed to be used with SwiftPM or added as a Package dependency from XCode.
For Swift Package Manager add the following lines your Package.swift under dependencies
:
.package(
name: "opus-swift",
url: "https://github.com/HealsCodes/opus-swift.git",
revision: "7f32c90063405ad719a367882e8c7275df40567a"
)
Referencing versioned tags is currently not supported as opus-swift relies on unsafeFlags([])
to supply the required optimisation and architecture flags to Clang.
To use the package in your swift code simply import it:
import LibOpus
This project is under MIT license.
libopus sources are pulled from https://gitlab.xiph.org/xiph/opus.
Opus is licensed under the New BSD License.