Trait reaper_medium::OnAudioBuffer
source · [−]pub trait OnAudioBuffer {
fn call(&mut self, args: OnAudioBufferArgs<'_>);
}Expand description
Consumers need to implement this trait in order to be called back in the real-time audio thread.
Required Methods
sourcefn call(&mut self, args: OnAudioBufferArgs<'_>)
fn call(&mut self, args: OnAudioBufferArgs<'_>)
The actual callback function.
It’s called twice per frame, first with is_post being false, then true.