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,
)
| 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 | |
| 125 | unsafe extern "C" fn thread_init_callback<N, P>(data: *mut libc::c_void) |