Skip to main content

Module buffer_view

Module buffer_view 

Source
Expand description

BufferView trait for backend-specific ring buffer access.

§BufferView — backend-specific accessor for I/O ring buffers

A BufferView encapsulates per-backend rules (interleave/deinterleave, stride, alignment) for reading input samples from and writing output samples to cross-thread ring buffers or DMA windows.

Used internally by rill-io backends (DirectView, DeinterleavedView). Graph nodes access I/O through IoCapture::read_input() and IoPlayback::write_output() — they do not use BufferView directly.

Structs§

NullBufferView
No-op BufferView for testing and default initialization.

Traits§

BufferView
Backend-specific accessor for I/O ring buffers.