pub struct LoudnessTarget {
pub target_lufs: f64,
pub max_true_peak_dbtp: f64,
pub loudness_range: Option<(f64, f64)>,
pub measure_only: bool,
}Expand description
Loudness target configuration.
Fields§
§target_lufs: f64Target integrated loudness in LUFS/LKFS.
max_true_peak_dbtp: f64Maximum true peak level in dBTP.
loudness_range: Option<(f64, f64)>Loudness range tolerance in LU.
measure_only: boolWhether to measure loudness only (no normalization).
Implementations§
Source§impl LoudnessTarget
impl LoudnessTarget
Sourcepub fn with_max_true_peak(self, dbtp: f64) -> Self
pub fn with_max_true_peak(self, dbtp: f64) -> Self
Sets the maximum true peak level.
Sourcepub fn with_loudness_range(self, min: f64, max: f64) -> Self
pub fn with_loudness_range(self, min: f64, max: f64) -> Self
Sets the loudness range tolerance.
Sourcepub fn measure_only(self) -> Self
pub fn measure_only(self) -> Self
Sets measure-only mode (no normalization applied).
Trait Implementations§
Source§impl Clone for LoudnessTarget
impl Clone for LoudnessTarget
Source§fn clone(&self) -> LoudnessTarget
fn clone(&self) -> LoudnessTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LoudnessTarget
impl RefUnwindSafe for LoudnessTarget
impl Send for LoudnessTarget
impl Sync for LoudnessTarget
impl Unpin for LoudnessTarget
impl UnsafeUnpin for LoudnessTarget
impl UnwindSafe for LoudnessTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more