> From: James Courtier-Dutton [mailto:james.dut...@gmail.com]
>
> While you might think that the mixer control API would be simple,
> unfortunately it is not.
> A browse through the alsamixer source code will show you that.
> A good start is to run
> "amixer contents"
> For each control is gives:
Paul D. DeRocco wrote:
> how does one programmatically find the range of a control?
snd_ctl_elem_info_t *info;
long min, max;
snd_ctl_elem_info_alloca(&info);
snd_ctl_elem_info_set_interface(value, SND_CTL_ELEM_IFACE_MIXER);
snd_ctl_elem_info_set_name(value
On 6 July 2013 07:04, Paul D. DeRocco wrote:
> A few months ago, Clemens was kind enough to explain how to set a volume
> control, given its name, using the snd_ctl_elem_value_xxx functions. By
> experimenting on my Ubuntu system, it appeared that values from 0 to 0x
> ran the master volume th