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

Method deactivate_blocking

crates/firewheel-graph/src/context.rs:582–596  ·  view source on GitHub ↗
(&mut self, timeout: Duration)

Source from the content-addressed store, hash-verified

580 bevy_platform::thread::sleep(core::time::Duration::from_millis(1));
581 }
582
583 Ok(())
584 }
585
586 /// Information about the running audio stream.
587 ///
588 /// Returns `None` if the context is not currently active.
589 pub fn stream_info(&self) -> Option<&StreamInfo> {
590 if self.is_active() {
591 self.stream_info.as_ref()
592 } else {
593 None
594 }
595 }
596
597 /// Get the "heartbeat" of the processor. This is equal to the total number of samples
598 /// that the processor has processed.
599 ///

Callers 1

dropMethod · 0.80

Calls 3

nowFunction · 0.85
request_deactivateMethod · 0.80
is_activeMethod · 0.45

Tested by

no test coverage detected