pub struct DspConfig {
pub block_size: usize,
pub sample_rate: u32,
pub channels: u16,
}Expand description
Configuration for a DSP pipeline.
Fields§
§block_size: usizeNumber of sample frames per block.
sample_rate: u32Sample rate in Hz.
channels: u16Number of audio channels.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DspConfig
impl RefUnwindSafe for DspConfig
impl Send for DspConfig
impl Sync for DspConfig
impl Unpin for DspConfig
impl UnwindSafe for DspConfig
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