[alsa-devel] Decibel range / value from snd_hctl_elem_t

Sebastian H. vand2 at gmx.de
Fri Apr 29 11:04:45 CEST 2011

Am 29.04.2011 08:15, schrieb Clemens Ladisch:
> Sebastian H. wrote:
>> I'm stuck with the hctl interface.
>> What is the best way to get
>> 1. the decibel range from a snd_hctl_elem_t
>> 2. the decibel value from a snd_hctl_elem_t
> The hctl stuff is just a thin wrapper over the ctl stuff, so call
> snd_hctl_ctl and snd_hctl_elem_get_id, then snd_ctl_*dB*.

Ok, that works.
Thank you Clemens.

More information about the Alsa-devel mailing list