MCPcopy Create free account
hub / github.com/RustAudio/rust-jack / sync

Method sync

src/client/callbacks.rs:115–122  ·  view source on GitHub ↗

For slow-sync clients, called periodically when the transport position is changed. The transport will not start rolling until all clients indicate they are ready, or a timeout occurs. It should return `false` until the handler is ready process audio. Ignored unless Self::SLOW_SYNC == true.

(
        &mut self,
        _: &Client,
        _state: crate::TransportState,
        _pos: &crate::TransportPosition,
    )

Source from the content-addressed store, hash-verified

113 ///
114 /// Ignored unless Self::SLOW_SYNC == true.
115 fn sync(
116 &mut self,
117 _: &Client,
118 _state: crate::TransportState,
119 _pos: &crate::TransportPosition,
120 ) -> bool {
121 true
122 }
123}
124
125unsafe extern "C" fn thread_init_callback<N, P>(data: *mut libc::c_void)

Callers 1

syncFunction · 0.80

Implementers 2

handler_impls.rssrc/client/handler_impls.rs
closure.rssrc/contrib/closure.rs

Calls

no outgoing calls

Tested by

no test coverage detected