(
&mut self,
block_frames: usize,
clock_samples: InstantSamples,
)
| 238 | |
| 239 | #[cfg(feature = "scheduled_events")] |
| 240 | fn num_pre_process_frames( |
| 241 | &mut self, |
| 242 | block_frames: usize, |
| 243 | clock_samples: InstantSamples, |
| 244 | ) -> usize { |
| 245 | if self.schedule_data.is_none() { |
| 246 | return block_frames; |
| 247 | } |
| 248 | let schedule_data = self.schedule_data.as_ref().unwrap(); |
| 249 | |
| 250 | if !schedule_data.schedule.has_pre_proc_nodes() { |
| 251 | return block_frames; |
| 252 | } |
| 253 | |
| 254 | let clock_samples_range = |
| 255 | clock_samples..clock_samples + DurationSamples(block_frames as i64); |
| 256 | self.event_scheduler |
| 257 | .num_pre_process_frames(block_frames, clock_samples_range) |
| 258 | } |
| 259 | |
| 260 | #[expect(clippy::too_many_arguments, reason = "Function needs many arguments")] |
| 261 | fn process_block( |
no test coverage detected