From d5c9580c7b30969ac25d1f9ac27ed59bc4effa0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sat, 22 Aug 2026 02:52:36 +0300 Subject: [PATCH] docs(mp3): name the replaced encoder shim by role --- crates/ec-mp3/src/encode.rs | 2 +- crates/ec-mp3/tests/encode_matrix.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ec-mp3/src/encode.rs b/crates/ec-mp3/src/encode.rs index c0ee2f8d..518d3aff 100644 --- a/crates/ec-mp3/src/encode.rs +++ b/crates/ec-mp3/src/encode.rs @@ -27,7 +27,7 @@ use ec_dsp::{RealFft, Window}; /// Encoder settings. /// -/// The field names match the incumbent `rusty_mp3` shim's, because the replica +/// The field names match the incumbent MP3 encoder shim's, because the replica /// swaps one for the other without touching call sites. #[derive(Clone, Copy, Debug, Default, PartialEq)] pub struct Mp3EncoderConfig { diff --git a/crates/ec-mp3/tests/encode_matrix.rs b/crates/ec-mp3/tests/encode_matrix.rs index 73261e12..dd290911 100644 --- a/crates/ec-mp3/tests/encode_matrix.rs +++ b/crates/ec-mp3/tests/encode_matrix.rs @@ -1,7 +1,7 @@ //! Our encoder measured the only way a lossy one can be: encode, decode the //! result with ffmpeg, correlate against the samples that went in. //! -//! The bar is the incumbent this crate replaces, `rusty_mp3` 0.6.1, measured on +//! The bar is the incumbent MP3 encoder this crate replaces, 0.6.1, measured on //! the same fixtures and the same metric (see `BAR`, and //! `scripts/mp3-incumbent-bar.md` for how those numbers were produced). //! @@ -13,7 +13,7 @@ use std::process::Command; use ec_mp3::{Mp3Encoder, Mp3EncoderConfig}; -/// Correlation `rusty_mp3` 0.6.1 reaches on this corpus, measured with this +/// Correlation the incumbent MP3 encoder, 0.6.1, reaches on this corpus, measured with this /// same alignment and metric (its own encoder, ffmpeg's decoder). The tone /// fixtures reach 1.0 on both encoders and so cannot separate them; the /// `mp3src-*` material — glide, broadband noise and a click every half second —