mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 08:44:24 +00:00
EffectCraft's `effectcraft-opusenc` as `opus::encoder` (and `opus::Encoder`) behind `opus-encode`: SILK, hybrid and CELT, 48 kHz, 20 ms frames, mono or stereo. The constructors and `encode_float` return `Result` instead of panicking. `Bandwidth` is one type for the decoder and the encoder, and the two `Mode` enums convert into each other. `encode` now turns on `opus-encode`. The encoder tests (modes, ffmpeg's two Opus decoders as oracles) and `TrackDecoder` on Opus without an `OpusHead` come with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 lines
95 B
Rust
6 lines
95 B
Rust
//! EffectCraft's `effectcraft-opusenc` integration tests.
|
|
|
|
mod common;
|
|
mod ffmpeg;
|
|
mod modes;
|