Re: Fwd: [PATCH] ALSA: hda/generic: Add mic autoswitch support for dyn_adc_switch mode
From: Jaroslav Kysela
Date: Fri May 15 2026 - 07:42:55 EST
On 5/15/26 11:24, Takashi Iwai wrote:
On Fri, 08 May 2026 04:50:22 +0200,
Zhang Heng wrote:
I tested this change:
In create_capture_mixers in generic.c:
- name = nums > 1 ? "Input Source" : "Capture Source";
+ name = "Input Source";
And it also works normally. It seems that user-space does not handle
"Capture Source" very well. So should we just remove "Capture Source"?
If this really works, it is rather a question to user-space behavior,
specifically alsa-lib's interpretation.
It's more likely the app interpretation (PA/PW) rather than alsa-lib. The "Input Source" means that there are more capture PCM devices and those controls distinguish the input sources for them.
It would be nice to see the 'amixer controls' output to see more details what the driver exposes to the user space.
Jaroslav
--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.