A context for [`AudioNode::construct_processor`].
| 301 | |
| 302 | /// A context for [`AudioNode::construct_processor`]. |
| 303 | pub 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 | |
| 311 | impl<'a> ConstructProcessorContext<'a> { |
| 312 | pub fn new( |
nothing calls this directly
no outgoing calls
no test coverage detected