[][src]Trait reaper_medium::MediumOnAudioBuffer

pub trait MediumOnAudioBuffer {
    fn call(&mut self, args: OnAudioBufferArgs);
}

Consumers need to implement this trait in order to be called back in the real-time audio thread.

See audio_reg_hardware_hook_add().

Required methods

fn call(&mut self, args: OnAudioBufferArgs)

The actual callback function.

It's called twice per frame, first with is_post being false, then true.

Loading content...

Implementors

Loading content...