mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
role-ducking, role-cork: Add use_source_trigger argument
This is added to keep backward compatibility. The default value of this new argument is false. Therefore, triggering by source-output will be activated only if it is set to true explicitly. Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
This commit is contained in:
parent
5540f728e5
commit
65cc86f609
3 changed files with 30 additions and 8 deletions
|
|
@ -34,6 +34,7 @@ PA_MODULE_USAGE(
|
|||
"ducking_roles=<Comma(and slash) separated list of roles which will be ducked. Slash can divide the roles into groups>"
|
||||
"global=<Should we operate globally or only inside the same device?>"
|
||||
"volume=<Volume for the attenuated streams. Default: -20dB. If trigger_roles and ducking_roles are separated by slash, use slash for dividing volume group>"
|
||||
"use_source_trigger=<Do we trigger a ducking by a role of source-output as well as sink-input's? Default: false>"
|
||||
);
|
||||
|
||||
static const char* const valid_modargs[] = {
|
||||
|
|
@ -41,6 +42,7 @@ static const char* const valid_modargs[] = {
|
|||
"ducking_roles",
|
||||
"global",
|
||||
"volume",
|
||||
"use_source_trigger",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue