pub trait StandaloneProcessor: Send + 'static {
type Processor: AudioProcessor<SampleType = f32>;
type Midi: MidiEventHandler;
// Required methods
fn processor(&mut self) -> &mut Self::Processor;
fn options(&self) -> &StandaloneOptions;
// Provided methods
fn midi(&mut self) -> Option<&mut Self::Midi> { ... }
fn supports_midi(&mut self) -> bool { ... }
fn handle(&self) -> Option<AudioProcessorHandleRef> { ... }
}
Expand description
Abstract standalone processor with runtime optional MIDI handling.