pub struct SyncConfig {
pub output_rate: f64,
pub half_width: usize,
pub max_buffer_samples: usize,
pub gap_threshold_factor: f64,
pub auto_postprocess: bool,
}Expand description
Configuration for StreamAligner and SyncGroup.
Fields§
§output_rate: f64Common output grid sampling rate in Hz.
half_width: usizeSinc kernel half-width in source samples (lookahead = half_width / min_rate).
max_buffer_samples: usizeMaximum samples buffered per input stream (bounds memory).
gap_threshold_factor: f64Gap threshold as a multiple of nominal sample period (1.8 default).
auto_postprocess: boolWhen true (default), SyncGroup enables CLOCKSYNC | DRIFT | DEVICE_DELAY
on each inlet automatically.
Implementations§
Trait Implementations§
Source§impl Clone for SyncConfig
impl Clone for SyncConfig
impl Copy for SyncConfig
Source§impl Debug for SyncConfig
impl Debug for SyncConfig
Source§impl PartialEq for SyncConfig
impl PartialEq for SyncConfig
impl StructuralPartialEq for SyncConfig
Auto Trait Implementations§
impl Forget for SyncConfig
impl Freeze for SyncConfig
impl Move for SyncConfig
impl RefUnwindSafe for SyncConfig
impl Send for SyncConfig
impl Sync for SyncConfig
impl Unpin for SyncConfig
impl UnsafeUnpin for SyncConfig
impl UnwindSafe for SyncConfig
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