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

Class ConstructProcessorContext

crates/firewheel-core/src/node.rs:303–309  ·  view source on GitHub ↗

A context for [`AudioNode::construct_processor`].

Source from the content-addressed store, hash-verified

301
302/// A context for [`AudioNode::construct_processor`].
303pub struct ConstructProcessorContext<'a> {
304 /// The ID of this audio node.
305 pub node_id: NodeID,
306 /// Information about the running audio stream.
307 pub stream_info: &'a StreamInfo,
308 custom_state: &'a mut Option<Box<dyn Any>>,
309}
310
311impl<'a> ConstructProcessorContext<'a> {
312 pub fn new(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected