pub trait NodeAudioContext {
fn nframes(&self) -> usize;
fn output(&mut self, channel: usize, frame: usize, v: f32);
fn input(&mut self, channel: usize, frame: usize) -> f32;
}
Expand description
Contains audio driver context informations. Such as the number of frames of the current buffer period and allows writing output samples and reading input samples.