pub struct GainPlan {
pub gain_db: f32,
pub source_peak: Option<f32>,
pub label: &'static str,
pub peak_label: &'static str,
}Expand description
The gain chosen before the DSP enforces output headroom.
Fields§
§gain_db: f32Requested gain before output headroom is applied.
source_peak: Option<f32>Linear peak of the unamplified source, when known.
label: &'static strOrigin of the loudness decision.
peak_label: &'static strOrigin of the peak used for headroom.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GainPlan
impl RefUnwindSafe for GainPlan
impl Send for GainPlan
impl Sync for GainPlan
impl Unpin for GainPlan
impl UnwindSafe for GainPlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more