Construct a patch from a node event. This is a convenience wrapper around [`patch`][Patch::patch], discarding errors and node events besides [`NodeEventType::Param`].
(event: &NodeEventType)
| 603 | /// |
| 604 | /// This will generally be called from within |
| 605 | /// the audio thread, so real-time constraints should be respected. |
| 606 | /// |
| 607 | /// Typically, you'll call this within [`drain_patches`]. |
| 608 | /// |
| 609 | /// ``` |
| 610 | /// # use firewheel_core::{diff::Patch, event::{ProcEvents, NodeEventType}}; |
| 611 | /// # fn patching(mut event_list: ProcEvents) { |
| 612 | /// #[derive(Patch, Default)] |
| 613 | /// struct FilterParams { |
nothing calls this directly
no outgoing calls
no test coverage detected