19 Mar
2021
19 Mar
'21
8:54 a.m.
Dne 19. 03. 21 v 4:03 Jack Yu napsal(a):
Add main capture switch and main capture volume control. Main capture control has its own channel value respectivelly.
It's a 'deja vu' without a proper solution. Please, resolve issues described in the first thread:
https://lore.kernel.org/alsa-devel/20201214064903.2746-1-jack.yu@realtek.com...
It's bad to map multiple controls to operate on top of the same registers without any kind of synchronization.
Also, I note that the put callback should return 1 when the value is changed. Your callbacks return only 0 in all cases.
I would not apply this patch.
Jaroslav
--
Jaroslav Kysela perex@perex.cz
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.