Struct alsa::mixer::Selem [] [src]

pub struct Selem<'a>(_);

Wraps an Elem as a Selem

Methods

impl<'a> Selem<'a>
[src]

Creates a Selem by wrapping elem.

TODO: This function might change to support regopt and to return the mixer class

returns range for capture volume as (min, max) values

returns (min, max) values.

returns (min, max) values.

returns (min, max) values.

Gets name from snd_mixer_selem_channel_name

returns volume in millibels.

Asks alsa to convert playback volume to millibels.

returns volume in millibels.

Asks alsa to convert capture volume to millibels

Enumerates over valid Enum values

Trait Implementations

impl<'a> Deref for Selem<'a>
[src]

The resulting type after dereferencing

returns the elem of this selem