Skip to main content

IoNode

Trait IoNode 

Source
pub trait IoNode<T: Transcendental, const BUF_SIZE: usize>: Node<T, BUF_SIZE> {
    // Required method
    fn resolve_backend(&mut self, backend: Box<dyn IoBackend<T>>);
}
Expand description

A node that owns an audio I/O backend.

Implemented by nodes that read from or write to an audio device (Input, Output, LofiInput). The backend is injected during graph assembly via resolve_backend.

Required Methods§

Source

fn resolve_backend(&mut self, backend: Box<dyn IoBackend<T>>)

Take ownership of an audio I/O backend.

Implementors§