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