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
Auto 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