[alsa-devel] Decibel range / value from snd_hctl_elem_t

Sebastian H. vand2 at gmx.de
Thu Apr 28 20:47:05 CEST 2011


Hello list

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

In the "Simple Mixer Interface" there are
snd_mixer_selem_get_playback_dB,
snd_mixer_selem_get_capture_dB,
snd_mixer_selem_get_playback_dB_range and
snd_mixer_selem_get_capture_dB_range

But I can't find anything like that in the
"High level Control Interface".


Possibly related: What does TLV stand for?
http://de.wikipedia.org/wiki/Type-Length-Value ?


Sebastian H.



More information about the Alsa-devel mailing list