mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-12 08:52:32 +00:00
Moves filmcraft-mp3enc (storytold/filmcraft@4bec22b) into craft_audio::mp3, on craft-media's BitWriter. `encode` turns the feature on, mp3::Error converts into AudioError::Encode, and a test covers every sample rate and bit rate with extreme signals.
20 lines
495 B
Rust
20 lines
495 B
Rust
//! Tests of the codecs ported from FilmCraft, built as one test binary: each file is a module, as
|
|
//! in their original crates.
|
|
// Index loops follow the specifications, as in FilmCraft (which allows this lint workspace-wide).
|
|
#![allow(clippy::needless_range_loop)]
|
|
|
|
use craft_media_testkit as common;
|
|
#[macro_use]
|
|
mod testkit;
|
|
|
|
mod aac;
|
|
mod ac3_encoder_oracle;
|
|
mod ac3_oracle;
|
|
mod alac;
|
|
mod concealment;
|
|
mod mp3_encoder_oracle;
|
|
mod mpa_oracle;
|
|
mod opus;
|
|
mod routing_oracle;
|
|
mod track_decoder;
|