From 2dcf65f76fb14016e749923945f33435ee78a9db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 2 Dec 2026 10:15:47 +0300 Subject: [PATCH] ec-opus test: drop doc comment on libopus_untrimmed (no comments in code) Root cause: hybrid_fb_roundtrip judged lag against look_ahead 312; pinned ffmpeg 9.0.2 libopus (32 kbps, 20 ms, fullband, voip) decoded untrimmed gives wav16 lag 298 (corr 0.9994) and lag 312 at corr 0.9167. Fix stays: assert lag within 6 of libopus's own lag. This commit only removes the 3-line doc comment per the no-comments rule. --- crates/ec-opus/tests/conformance.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/ec-opus/tests/conformance.rs b/crates/ec-opus/tests/conformance.rs index d37f45ae..e5350108 100644 --- a/crates/ec-opus/tests/conformance.rs +++ b/crates/ec-opus/tests/conformance.rs @@ -2125,9 +2125,6 @@ fn oracle_decode(name: &str, packets: &[Vec], samples: usize, pre_skip: usiz decoded } -/// Pinned libopus (ffmpeg) encode of mono `pcm` at the same 32 kbps, 20 ms, -/// fullband VoIP setting, decoded with the pre-skip left in: the output starts -/// at the encoder's input sample 0, so its lag is libopus's real delay. fn libopus_untrimmed(name: &str, pcm: &[f32]) -> Vec { let raw = temp_path(&format!("{name}.f32")); let opus = temp_path(&format!("{name}.opus"));