pub struct ConvertedIr {
pub data: Vec<f32>,
pub gain: f32,
pub ir: Vec<f32>,
}Expand description
An IR converted for upload.
Fields§
§data: Vec<f32>The IR_TAPS floats to upload: data[IR_TAPS − 1 − k] = gain · ir[k].
gain: f32The gain applied.
ir: Vec<f32>The IR at 48 kHz as the app sees it (after its conversion), before truncation.
Trait Implementations§
Source§impl Clone for ConvertedIr
impl Clone for ConvertedIr
Source§fn clone(&self) -> ConvertedIr
fn clone(&self) -> ConvertedIr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConvertedIr
impl RefUnwindSafe for ConvertedIr
impl Send for ConvertedIr
impl Sync for ConvertedIr
impl Unpin for ConvertedIr
impl UnsafeUnpin for ConvertedIr
impl UnwindSafe for ConvertedIr
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