Opus

0.0.2

Opus audio codec for Swift Package Manager
alta/swift-opus

What's New

0.0.2

2022-02-28T20:24:45Z

What's Changed

  • Fix: decoder crashing on sampleCount been negative due to a corrupted packet by @Dario-Gasquez in #9
  • Bump Sources/Copus from 6b6035a to 37aba6e

New Contributors

Full Changelog: 0.0.1...0.0.2

Swift Opus

Type-safe Swift bindings for the Opus audio codec on Apple platforms (iOS, tvOS, macOS, watchOS).

This package enables low-level Opus packet encoding and decoding to an AVAudioPCMBuffer suitable for playback via an AVAudioEngine and AVAudioPlayerNode. This was built for a now-defunct audio app for iOS and macOS, and runs reliably with multiple 48khz Opus audio channels over a typical 4G connection on modern iPhone devices.

Installation

Use Swift Package Manager to add this to your Xcode project or Swift package.

Note

This package neither vendors the original Opus source code or embeds precompiled libraries or binary frameworks. It embeds the current Opus C source as a git submodule, which Swift Package Manager will automatically download as part of the build process. See Package.swift for details.

Usage

TODO

License

See LICENSE for more information.

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sun Jan 18 2026 16:20:43 GMT-1000 (Hawaii-Aleutian Standard Time)