pub fn send(&self, message: impl ShortMessage, time: SendMidiTime) {
        let bytes = message.to_bytes();
        unsafe {
            self.0
                .as_ref()
                .Send(bytes.0, bytes.1.get(), bytes.2.get(), time.to_raw());
        }
    }
/// Sends the given short 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 short message to this device at the given time.
This must only be called in the real-time audio thread.


Sends the given short message to this device at the given time . This must only be called in the real - time audio thread .
pub fn send(&self, message: impl ShortMessage, time: SendMidiTime) {
        let bytes = message.to_bytes();
        unsafe {
            self.0
                .as_ref()
                .Send(bytes.0, bytes.1.get(), bytes.2.get(), time.to_raw());
        }
    }
pub fn send ( & self , message : impl ShortMessage , time : SendMidiTime ) { let bytes = message . to_bytes ( ) ; unsafe { self . 0 . as_ref ( ) . Send ( bytes . 0 , bytes . 1 . get ( ) , bytes . 2 . get ( ) , time . to_raw ( ) ) ; } }
Sends the given short message to this device at the given time.
Sends the given short message to this device at the given time .
&self
message
impl ShortMessage
time
SendMidiTime
&self
message
impl ShortMessage
time
SendMidiTime