forge
Explore
Log in

Don't you dare go Hollow

ec-opus test: drop doc comment on libopus_untrimmed (no comments in code)

Browse files at this commit

2dcf65f76fb14016e749923945f33435ee78a9dbAhmet Kaan GümüşParent: 4a881f9
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.rsmodified+0 -3
@@ -2125,9 +2125,6 @@ fn oracle_decode(name: &str, packets: &[Vec<u8>], samples: usize, pre_skip: usiz
21252125 decoded
21262126 }
21272127
2128-/// Pinned libopus (ffmpeg) encode of mono `pcm` at the same 32 kbps, 20 ms,
2129-/// fullband VoIP setting, decoded with the pre-skip left in: the output starts
2130-/// at the encoder's input sample 0, so its lag is libopus's real delay.
21312128 fn libopus_untrimmed(name: &str, pcm: &[f32]) -> Vec<f32> {
21322129 let raw = temp_path(&format!("{name}.f32"));
21332130 let opus = temp_path(&format!("{name}.opus"));