29 Apr
2011
29 Apr
'11
8:15 a.m.
Sebastian H. wrote:
I'm stuck with the hctl interface. What is the best way to get
- the decibel range from a snd_hctl_elem_t
- 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*.
Possibly related: What does TLV stand for? http://de.wikipedia.org/wiki/Type-Length-Value ?
Yes; but you should let alsa-lib parse it.
Regards, Clemens