[pulseaudio-discuss] [PATCH v2 4/4] role-ducking: Add support for fading feature
Sangchul Lee
sangchul1011 at gmail.com
Fri Apr 28 13:38:00 UTC 2017
fade_out and fade_in module arguments are added for fading duration
of ducking and unducking. The unit of the duration is in milliseconds
and default value is 0.
Signed-off-by: Sangchul Lee <sc11.lee at samsung.com>
---
src/modules/module-role-ducking.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/modules/module-role-ducking.c b/src/modules/module-role-ducking.c
index add2d36..5ea1023 100644
--- a/src/modules/module-role-ducking.c
+++ b/src/modules/module-role-ducking.c
@@ -36,6 +36,8 @@ 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>"
+ "fade_out=<Fade-out duration(ms). If trigger_roles and ducking_roles are separated by slash, use slash for dividing fade group. Default: 0.>"
+ "fade_in=<Fade-in duration(ms). If trigger_roles and ducking_roles are separated by slash, use slash for dividing fade group. Default: 0.>"
);
static const char* const valid_modargs[] = {
@@ -43,6 +45,8 @@ static const char* const valid_modargs[] = {
"ducking_roles",
"global",
"volume",
+ "fade_out",
+ "fade_in",
NULL
};
--
2.7.4
More information about the pulseaudio-discuss
mailing list