alsa::direct::pcm

Type Alias MmapPlayback

Source
pub type MmapPlayback<S> = MmapIO<S, Playback>;

Aliased Type§

struct MmapPlayback<S> { /* private fields */ }

Implementations§

Source§

impl<S> MmapPlayback<S>

Source

pub fn write<I: Iterator<Item = S>>(&mut self, i: &mut I) -> Frames

Write samples to the kernel ringbuffer.