Trait AudioComponent
Source pub trait AudioComponent: LiveApply {
// Required methods
fn handle_event_with(
&mut self,
_cx: &mut Cx,
event: &Event,
dispatch_action: &mut dyn FnMut(&mut Cx, AudioComponentAction),
);
fn get_graph_node(&mut self, cx: &mut Cx) -> Box<dyn AudioGraphNode + Send>;
fn audio_query(
&mut self,
_query: &AudioQuery,
_callback: &mut Option<AudioQueryCb<'_>>,
) -> AudioResult<'_>;
// Provided method
fn ref_cast_type_id(&self) -> LiveType
where Self: 'static { ... }
}