pub struct EqBand {
pub kind: EqBandKind,
pub frequency_hz: f32,
pub q: f32,
pub gain_db: f32,
}Expand description
A single equalizer section stored independently from its DSP implementation.
Fields§
§kind: EqBandKindFilter shape.
frequency_hz: f32Center or corner frequency in hertz, within EQ_FREQUENCY_RANGE_HZ.
q: f32Resonance, within EQ_Q_RANGE. Larger values produce narrower bands.
gain_db: f32Peaking gain in decibels, at most MAX_EQ_GAIN_DB either way.
Ignored by the pass filters.
Trait Implementations§
impl Copy for EqBand
Source§impl<'de> Deserialize<'de> for EqBand
impl<'de> Deserialize<'de> for EqBand
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 EqBand
Auto Trait Implementations§
impl Freeze for EqBand
impl RefUnwindSafe for EqBand
impl Send for EqBand
impl Sync for EqBand
impl Unpin for EqBand
impl UnsafeUnpin for EqBand
impl UnwindSafe for EqBand
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