pub fn rt_audio_play_callback<'c, F>(&self, f: F)
    where
        F: FnMut(&[f64]) + 'c,
    {
        unsafe {
            (*(csound_sys::csoundGetHostData(self.engine.csound) as *mut CallbackHandler))
                .callbacks
                .set_rt_play_cb(self.engine.csound, f);
        }
    }
/// Sets a function to be called by Csound for performing real-time audio playback.
/// A reference to a buffer with audio samples is passed
/// to the user function in the callback. These samples have to be processed and sent
/// to a proper audio device.
Sets a function to be called by Csound for performing real-time audio playback.
A reference to a buffer with audio samples is passed
to the user function in the callback. These samples have to be processed and sent
to a proper audio device.
Sets a function to be called by Csound for performing real - time audio playback . A reference to a buffer with audio samples is passed to the user function in the callback . These samples have to be processed and sent to a proper audio device .
pub fn rt_audio_play_callback<'c, F>(&self, f: F)
    where
        F: FnMut(&[f64]) + 'c,
    {
        unsafe {
            (*(csound_sys::csoundGetHostData(self.engine.csound) as *mut CallbackHandler))
                .callbacks
                .set_rt_play_cb(self.engine.csound, f);
        }
    }
pub fn rt_audio_play_callback < ' c , F > ( & self , f : F ) where F : FnMut ( & [ f64 ] ) + ' c , { unsafe { ( * ( csound_sys :: csoundGetHostData ( self . engine . csound ) as * mut CallbackHandler ) ) . callbacks . set_rt_play_cb ( self . engine . csound , f ) ; } }
Sets a function to be called by Csound for performing real-time audio playback.
Sets a function to be called by Csound for performing real - time audio playback .
&self
f
F
&self
f
F