pub struct StreamConfig {
pub window_size: usize,
pub hop_size: usize,
pub buffer_size: usize,
pub sample_rate: f64,
}Expand description
Configuration for streaming STFT
Fields§
§window_size: usizeWindow size (must be power of 2)
hop_size: usizeHop size for frame advance
buffer_size: usizeBuffer size in samples (larger = fewer I/O operations)
sample_rate: f64Sample rate in Hz
Trait Implementations§
Source§impl Clone for StreamConfig
impl Clone for StreamConfig
Source§impl Debug for StreamConfig
impl Debug for StreamConfig
Auto Trait Implementations§
impl Freeze for StreamConfig
impl RefUnwindSafe for StreamConfig
impl Send for StreamConfig
impl Sync for StreamConfig
impl Unpin for StreamConfig
impl UnsafeUnpin for StreamConfig
impl UnwindSafe for StreamConfig
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