Struct audio_processor_standalone_midi::host::MidiHost
source · [−]pub struct MidiHost { /* private fields */ }
Expand description
Host for MIDI messages, opens all ports & forwards them onto a lock-free queue the audio-thread can pop from.
The host will close all MIDI connections on drop.
Implementations
Create the host, linked to GC Handle
and with queue capacity
of messages.
Create the host with default 100 capacity
Build a MidiHost with a pre-built queue
Get a reference to the message queue
Start the MIDI connections
Trait Implementations
type Result = GetQueueMessageResult
type Result = GetQueueMessageResult
The type of value that this handler will return. Read more
This method is called for every message received by this actor.
Called when the supervisor restarts a failed actor.
Method is called during service initialization.
Construct and start system service
Get actor’s address from system registry