pub struct JamSyncConfig {
pub lock_threshold: usize,
pub tolerance_frames: u64,
pub holdover_budget: u64,
}Expand description
Configuration for a JamSyncController.
Fields§
§lock_threshold: usizeNumber of consecutive reference frames that must be exactly sequential
before the controller transitions from Locking to Locked.
tolerance_frames: u64Maximum difference in frames between consecutive reference inputs that is still considered “sequential” (for tolerance of jittery inputs).
holdover_budget: u64Number of output() calls (frames) that can elapse without a reference
before the controller transitions from Locked to Holdover.
Trait Implementations§
Source§impl Clone for JamSyncConfig
impl Clone for JamSyncConfig
Source§fn clone(&self) -> JamSyncConfig
fn clone(&self) -> JamSyncConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JamSyncConfig
impl Debug for JamSyncConfig
Source§impl Default for JamSyncConfig
impl Default for JamSyncConfig
impl Copy for JamSyncConfig
Auto Trait Implementations§
impl Freeze for JamSyncConfig
impl RefUnwindSafe for JamSyncConfig
impl Send for JamSyncConfig
impl Sync for JamSyncConfig
impl Unpin for JamSyncConfig
impl UnsafeUnpin for JamSyncConfig
impl UnwindSafe for JamSyncConfig
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