Trait alsa::direct::pcm::MmapDir

source ·
pub trait MmapDir: Debug {
    const DIR: Direction;

    // Required method
    fn avail(
        hwptr: Frames,
        applptr: Frames,
        buffersize: Frames,
        boundary: Frames
    ) -> Frames;
}
Expand description

Dummy trait for better generics

Required Associated Constants§

Required Methods§

source

fn avail( hwptr: Frames, applptr: Frames, buffersize: Frames, boundary: Frames ) -> Frames

Object Safety§

This trait is not object safe.

Implementors§

source§

impl MmapDir for Capture

source§

const DIR: Direction = Direction::Capture

source§

impl MmapDir for Playback

source§

const DIR: Direction = Direction::Playback