pub struct TimecodeSynchronizer { /* private fields */ }Expand description
Timecode synchronizer
Implementations§
Source§impl TimecodeSynchronizer
impl TimecodeSynchronizer
Sourcepub fn new(frame_rate: FrameRate, strategy: ReconciliationStrategy) -> Self
pub fn new(frame_rate: FrameRate, strategy: ReconciliationStrategy) -> Self
Create a new synchronizer
Sourcepub fn update_ltc(&mut self, timecode: Timecode) -> Result<(), TimecodeError>
pub fn update_ltc(&mut self, timecode: Timecode) -> Result<(), TimecodeError>
Update with LTC timecode
Sourcepub fn update_vitc(&mut self, timecode: Timecode) -> Result<(), TimecodeError>
pub fn update_vitc(&mut self, timecode: Timecode) -> Result<(), TimecodeError>
Update with VITC timecode
Sourcepub fn get_timecode(&self) -> Option<Timecode>
pub fn get_timecode(&self) -> Option<Timecode>
Get the current synchronized timecode
Sourcepub fn disable_jam_sync(&mut self)
pub fn disable_jam_sync(&mut self)
Disable jam sync
Sourcepub fn is_jam_synced(&self) -> bool
pub fn is_jam_synced(&self) -> bool
Check if jam sync is active
Sourcepub fn status(&self) -> SyncStatus
pub fn status(&self) -> SyncStatus
Get synchronization status
Auto Trait Implementations§
impl Freeze for TimecodeSynchronizer
impl RefUnwindSafe for TimecodeSynchronizer
impl Send for TimecodeSynchronizer
impl Sync for TimecodeSynchronizer
impl Unpin for TimecodeSynchronizer
impl UnsafeUnpin for TimecodeSynchronizer
impl UnwindSafe for TimecodeSynchronizer
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