pub fn send_msg(&self, msg: impl AsRef<raw::MIDI_event_t>, time: SendMidiTime) {
        unsafe {
            self.0
                .as_ref()
                .SendMsg(msg.as_ref() as *const _ as _, time.to_raw());
        }
    }
/// Sends the given arbitrary MIDI message to this device at the given time.
///
/// This must only be called in the real-time audio thread! See [`get_midi_output()`].
///
/// [`get_midi_output()`]: struct.Reaper.html#method.get_midi_output
Sends the given arbitrary MIDI message to this device at the given time.
This must only be called in the real-time audio thread.


Sends the given arbitrary MIDI message to this device at the given time . This must only be called in the real - time audio thread .
pub fn send_msg(&self, msg: impl AsRef<raw::MIDI_event_t>, time: SendMidiTime) {
        unsafe {
            self.0
                .as_ref()
                .SendMsg(msg.as_ref() as *const _ as _, time.to_raw());
        }
    }
pub fn send_msg ( & self , msg : impl AsRef < raw :: MIDI_event_t > , time : SendMidiTime ) { unsafe { self . 0 . as_ref ( ) . SendMsg ( msg . as_ref ( ) as * const _ as _ , time . to_raw ( ) ) ; } }
Sends the given arbitrary MIDI message to this device at the given time.
Sends the given arbitrary MIDI message to this device at the given time .
&self
msg
impl AsRef<raw::MIDI_event_t>
time
SendMidiTime
&self
msg
impl AsRef<raw::MIDI_event_t>
time
SendMidiTime