21 Mar
2011
21 Mar
'11
1:08 p.m.
At Mon, 21 Mar 2011 08:32:43 +0100 (CET), Jaroslav Kysela wrote:
On Mon, 21 Mar 2011, Lydia Wang wrote:
From: Lydia Wang lydiawang@viatech.com.cn Subject: ALSA: VIA HDA: Modify notify_aa_path_ctls() function.
Modify notify_aa_path_ctls() function to get volume control items name dynamically instead of by giving static item name.
This code looks ugly to me. If you like to have a dynamic set of notified controls, create one using snd_array in via_spec.
Agreed. The current code is too fragile.
thanks,
Takashi