From 96cce03dc0f284e6adb3912b026ae2cbb87a4cbd 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 15:16:25 +0300 Subject: [PATCH] S11: drop doc comments added on Syntax::of and downmix_gains (no-comments rule) --- crates/ec-ac3/src/decode.rs | 2 -- crates/ec-ac3/src/decoder.rs | 1 - 2 files changed, 3 deletions(-) diff --git a/crates/ec-ac3/src/decode.rs b/crates/ec-ac3/src/decode.rs index 363957b1..e5a91c15 100644 --- a/crates/ec-ac3/src/decode.rs +++ b/crates/ec-ac3/src/decode.rs @@ -36,8 +36,6 @@ pub enum Syntax { } impl Syntax { - /// The syntax of the syncframe at `data`, read from bsid, which sits in - /// the sixth byte of both. `None` when there are not six bytes yet. pub(crate) fn of(data: &[u8]) -> Option { let bsid = *data.get(5)? >> 3; Some(if bsid <= 10 { Syntax::Ac3 } else { Syntax::Eac3 }) diff --git a/crates/ec-ac3/src/decoder.rs b/crates/ec-ac3/src/decoder.rs index f30751a7..94e00880 100644 --- a/crates/ec-ac3/src/decoder.rs +++ b/crates/ec-ac3/src/decoder.rs @@ -413,7 +413,6 @@ impl Ac3Decoder { } } - /// Per-channel gains into the left and right downmix sums (ยง7.8.2). fn downmix_gains(info: &FrameInfo, positions: &[ChannelPosition]) -> (Vec, Vec) { let clev = info.center_mix_level.unwrap_or(0.707); let slev = info.surround_mix_level.unwrap_or(0.707);