Struct alsa::mixer::Mixer
[−]
[src]
pub struct Mixer(_);
wraps snd_mixer_t
Methods
impl Mixer
[src]
fn new(name: &str, nonblock: bool) -> Result<Mixer>
Opens a mixer and attaches it to a card identified by its name (like hw:0) and loads the mixer after registering a Selem.
fn find_selem(&self, id: &SelemId) -> Option<Selem>
Creates a Selem by looking for a specific selem by name given a mixer (of a card)
fn open(nonblock: bool) -> Result<Mixer>
fn attach(&mut self, name: &CStr) -> Result<()>
fn load(&mut self) -> Result<()>
fn iter(&self) -> Iter
fn wait(&self, timeout_ms: Option<u32>) -> Result<bool>
Trait Implementations
impl Debug for Mixer
[src]
impl Send for Mixer
[src]
impl Drop for Mixer
[src]
Closes mixer and frees used resources