pub fn midi_out_close_callback<'c, F>(&self, f: F)
    where
        F: FnMut() + 'c,
    {
        unsafe {
            (*(csound_sys::csoundGetHostData(self.engine.csound) as *mut CallbackHandler))
                .callbacks
                .set_midi_out_close_cb(self.engine.csound, f);
        }
    }
/// Indicates to the user when csound has closed the midi output device.
Indicates to the user when csound has closed the midi output device.
Indicates to the user when csound has closed the midi output device .
pub fn midi_out_close_callback<'c, F>(&self, f: F)
    where
        F: FnMut() + 'c,
    {
        unsafe {
            (*(csound_sys::csoundGetHostData(self.engine.csound) as *mut CallbackHandler))
                .callbacks
                .set_midi_out_close_cb(self.engine.csound, f);
        }
    }
pub fn midi_out_close_callback < ' c , F > ( & self , f : F ) where F : FnMut ( ) + ' c , { unsafe { ( * ( csound_sys :: csoundGetHostData ( self . engine . csound ) as * mut CallbackHandler ) ) . callbacks . set_midi_out_close_cb ( self . engine . csound , f ) ; } }
Indicates to the user when csound has closed the midi output device.
Indicates to the user when csound has closed the midi output device .
&self
f
F
&self
f
F