7 Jul
2009
7 Jul
'09
8:49 a.m.
At Tue, 7 Jul 2009 11:50:46 +0530, Harsha, Priya wrote:
- .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
- .info = snd_intelmad_line_volume_info,
- .get = snd_intelmad_volume_get,
- .put = snd_intelmad_volume_set,
Can it have the dB information via TLV?
No. It actually differs across the 3 sound cards supported and it's not a direct TLV that can be used.
Then you'd set a static TLV entry after creating the ctl element instance, or return a TLV entry dynamically via the tlv callback.
The dB information is pretty important nowadays since pulseaudio is using it.
Takashi