forge
Explore
Log in

Don't you dare go Hollow

ec-ac3 mantissa.rs: drop the doc comment added in 244c6bdf (no comments in code). Root cause of review FAIL: new doc text on Dither::value. Code unchanged. Evidence: cargo check -p ec-ac3 --all-targets clean. LFE path audited vs ffmpeg n8.0 (ac3dec.c 394-420, 1222-1240, 1097-1103; eac3dec.c 195-290, 384, 447-465): bap0 non-AHT LFE gives 0 (dithflag[lfe]=0), LFE bit alloc is_lfe bin 6, exp D15 2 groups, no gainrng, AHT flag parse matches. Gate ch3 still unverified (orchestrator to run csi_miami_5.1_256_spx_small.eac3)

Browse files at this commit

c53e3aa894e339011b5371dce317d6d03d64f072Ahmet Kaan GümüşParent: 244c6bd
crates/ec-ac3/src/mantissa.rsmodified+0 -2
@@ -50,8 +50,6 @@ impl Default for Dither {
5050 }
5151
5252 impl Dither {
53- /// Next AHT zero-bit dither, uniform in ±0.5: ffmpeg's raw word
54- /// `(w & 0x7fffff) - 0x400000` scaled by 2^-23.
5553 pub fn value(&mut self) -> f32 {
5654 let x = self.next_word() & 0x7f_ffff;
5755 (x as i32 - 0x40_0000) as f32 / 8_388_608.0