MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / sync_shared_clock

Method sync_shared_clock

crates/firewheel-graph/src/processor/process.rs:681–699  ·  view source on GitHub ↗
(&mut self, process_timestamp: Instant)

Source from the content-addressed store, hash-verified

679 self.sample_rate_recip,
680 );
681
682 self.shared_clock_input.write(SharedClock {
683 clock_samples: self.clock_samples,
684 #[cfg(feature = "scheduled_events")]
685 update_instant: process_timestamp,
686 #[cfg(feature = "musical_transport")]
687 current_playhead: shared_clock_info.current_playhead,
688 #[cfg(feature = "musical_transport")]
689 speed_multiplier: shared_clock_info.speed_multiplier,
690 #[cfg(feature = "musical_transport")]
691 transport_is_playing: shared_clock_info.transport_is_playing,
692 });
693 }
694}
695
696fn validate_output(
697 output: &mut [&mut [f32]],
698 flags: &FirewheelBitFlags,
699 shared_flags: &Arc<SharedFlags>,
700 logger: &mut RealtimeLogger,
701) {
702 if flags.contains(FirewheelBitFlags::VALIDATE_OUTPUT_IS_FINITE) {

Callers 1

processMethod · 0.80

Calls 1

shared_clock_infoMethod · 0.80

Tested by

no test coverage detected