Dne 14. 12. 20 v 16:07 Pierre-Louis Bossart napsal(a):
On 12/14/20 1:35 AM, Jaroslav Kysela wrote:
Dne 14. 12. 20 v 7:49 jack.yu@realtek.com napsal(a):
From: Jack Yu jack.yu@realtek.com
Add main capture switch and main capture volume for callback to be in single operation.
Could you be more verbose, what you're trying to do in the patch description?
I see that it's just additional volume coupling functionality (one control, set all four output volume/switch registers, right?).
Some points:
1) the separate volume controls don't send change events back to the user space when the coupled capture settings is applied and versa vice - no sync 2) we have already virtual master API - sound/core/vmaster.c which should cover this requirement 3) I don't see the purpose for this coupling (the capture direction)
* "Main Capture Volume" looks the same as "ADC 07 Capture Volume",
I would just use "Capture Volume" and "Capture Switch" here without the Main prefix to follow other drivers.
It's similar to the 'Master Capture Switch' used in HDaudio, what other drivers were you referring to?
HDAudio is using just 'Capture Switch' and 'Capture Volume' for the root capture controls plus the input selector (enum). The Master prefix is used only for the playback direction. And the word master is not prohibited for the audio context, is it?
Jaroslav