Name the replaced encoder shim by role
Browse files at this commitd5c9580c7b30969ac25d1f9ac27ed59bc4effa0bParent: f14bace- docs
- name the replaced encoder shim by role
2 changed files +3 -3
crates/ec-mp3/src/encode.rsmodified+1 -1
| @@ -27,7 +27,7 @@ use ec_dsp::{RealFft, Window}; | |||
| 27 | 27 | ||
| 28 | /// Encoder settings. | 28 | /// Encoder settings. |
| 29 | /// | 29 | /// |
| 30 | -/// The field names match the incumbent `rusty_mp3` shim's, because the replica | 30 | +/// The field names match the incumbent MP3 encoder shim's, because the replica |
| 31 | /// swaps one for the other without touching call sites. | 31 | /// swaps one for the other without touching call sites. |
| 32 | #[derive(Clone, Copy, Debug, Default, PartialEq)] | 32 | #[derive(Clone, Copy, Debug, Default, PartialEq)] |
| 33 | pub struct Mp3EncoderConfig { | 33 | pub struct Mp3EncoderConfig { |
crates/ec-mp3/tests/encode_matrix.rsmodified+2 -2
| @@ -1,7 +1,7 @@ | |||
| 1 | //! Our encoder measured the only way a lossy one can be: encode, decode the | 1 | //! Our encoder measured the only way a lossy one can be: encode, decode the |
| 2 | //! result with ffmpeg, correlate against the samples that went in. | 2 | //! result with ffmpeg, correlate against the samples that went in. |
| 3 | //! | 3 | //! |
| 4 | -//! The bar is the incumbent this crate replaces, `rusty_mp3` 0.6.1, measured on | 4 | +//! The bar is the incumbent MP3 encoder this crate replaces, 0.6.1, measured on |
| 5 | //! the same fixtures and the same metric (see `BAR`, and | 5 | //! the same fixtures and the same metric (see `BAR`, and |
| 6 | //! `scripts/mp3-incumbent-bar.md` for how those numbers were produced). | 6 | //! `scripts/mp3-incumbent-bar.md` for how those numbers were produced). |
| 7 | //! | 7 | //! |
| @@ -13,7 +13,7 @@ use std::process::Command; | |||
| 13 | 13 | ||
| 14 | use ec_mp3::{Mp3Encoder, Mp3EncoderConfig}; | 14 | use ec_mp3::{Mp3Encoder, Mp3EncoderConfig}; |
| 15 | 15 | ||
| 16 | -/// Correlation `rusty_mp3` 0.6.1 reaches on this corpus, measured with this | 16 | +/// Correlation the incumbent MP3 encoder, 0.6.1, reaches on this corpus, measured with this |
| 17 | /// same alignment and metric (its own encoder, ffmpeg's decoder). The tone | 17 | /// same alignment and metric (its own encoder, ffmpeg's decoder). The tone |
| 18 | /// fixtures reach 1.0 on both encoders and so cannot separate them; the | 18 | /// fixtures reach 1.0 on both encoders and so cannot separate them; the |
| 19 | /// `mp3src-*` material — glide, broadband noise and a click every half second — | 19 | /// `mp3src-*` material — glide, broadband noise and a click every half second — |