pub struct PlaybackClock { /* private fields */ }Expand description
Pipeline-wide media clock shared by audio output and video scheduling.
Clock remains the pipeline’s monotonic control/pause clock. This
type adds the media-timeline position and can hand that position from a
wall-clock fallback to one audio renderer without letting the position
jump backwards. It deliberately contains no WASAPI types: an audio
backend publishes device-position snapshots through its private
registration, while video scheduling only reads the resulting position.
Implementations§
Source§impl PlaybackClock
impl PlaybackClock
pub fn master(&self) -> PlaybackMaster
Auto Trait Implementations§
impl !Freeze for PlaybackClock
impl RefUnwindSafe for PlaybackClock
impl Send for PlaybackClock
impl Sync for PlaybackClock
impl Unpin for PlaybackClock
impl UnsafeUnpin for PlaybackClock
impl UnwindSafe for PlaybackClock
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