pub struct TrackState {
pub gain: f32,
pub pan: f32,
pub mute: bool,
pub solo: bool,
pub lowpass: f32,
pub eq_gain_db: f32,
pub eq_freq_hz: f32,
pub comp_threshold: f32,
pub comp_ratio: f32,
pub delay_samples: u32,
pub delay_mix: f32,
}Fields§
§gain: f32§pan: f32§mute: bool§solo: bool§lowpass: f32Simple one-pole lowpass coefficient 0..1 (0 = bypass).
eq_gain_db: f32Peaking EQ gain dB (0 = bypass). Applied after lowpass.
eq_freq_hz: f32§comp_threshold: f32Compressor threshold linear (0..1); ratio ≥ 1.
comp_ratio: f32§delay_samples: u32Delay time in samples (0 = off); wet mix 0..1.
delay_mix: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrackState
impl RefUnwindSafe for TrackState
impl Send for TrackState
impl Sync for TrackState
impl Unpin for TrackState
impl UnsafeUnpin for TrackState
impl UnwindSafe for TrackState
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