pub struct Limiter {
pub threshold: f32,
pub release_ms: f32,
}Expand description
Final peak limiter placed at the end of the master bus.
Fields§
§threshold: f32Linear ceiling, positive and at most MAX_GAIN. One is full scale.
release_ms: f32Release time in milliseconds, positive and at most MAX_ENVELOPE_MS.
Trait Implementations§
impl Copy for Limiter
Source§impl<'de> Deserialize<'de> for Limiter
impl<'de> Deserialize<'de> for Limiter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Limiter
Auto Trait Implementations§
impl Freeze for Limiter
impl RefUnwindSafe for Limiter
impl Send for Limiter
impl Sync for Limiter
impl Unpin for Limiter
impl UnsafeUnpin for Limiter
impl UnwindSafe for Limiter
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