(
&self,
_config: &Self::Configuration,
cx: ConstructProcessorContext,
)
| 225 | } |
| 226 | |
| 227 | fn construct_processor( |
| 228 | &self, |
| 229 | _config: &Self::Configuration, |
| 230 | cx: ConstructProcessorContext, |
| 231 | ) -> Result<impl AudioNodeProcessor, NodeError> { |
| 232 | Ok(Processor { |
| 233 | params: *self, |
| 234 | shared_state: Arc::clone( |
| 235 | &cx.custom_state::<PeakMeterState<NUM_CHANNELS>>() |
| 236 | .unwrap() |
| 237 | .shared_state, |
| 238 | ), |
| 239 | }) |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | struct SharedState<const NUM_CHANNELS: usize> { |
nothing calls this directly
no outgoing calls
no test coverage detected