role-ducking: Add support for fade-in/out feature 63/170763/2 accepted/tizen/unified/20180227.062917 submit/tizen/20180226.072000
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 22 Feb 2018 04:29:47 +0000 (13:29 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 26 Feb 2018 01:21:38 +0000 (01:21 +0000)
related patches
 : 4c528a5790096e2e16f2e6a36e65498c6e8df5cb - sc11.lee@samsung.com - 2016-07-18 - role-ducking: Add support for fade-in/fade-out feature

[Version] 11.1-27
[Issue Type] Feature

Change-Id: I4136a8eb7b29d04014d0649fc9f0406c31a6c7e6
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio.spec
src/modules/module-role-ducking.c

index 224879c..3247fd4 100644 (file)
@@ -3,7 +3,7 @@
 Name:             pulseaudio
 Summary:          Improved Linux sound server
 Version:          11.1
-Release:          26
+Release:          27
 Group:            Multimedia/Audio
 License:          LGPL-2.1
 URL:              http://pulseaudio.org
index add2d36..46dc32b 100644 (file)
@@ -36,6 +36,10 @@ 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>"
+#ifdef TIZEN_VOLUME_RAMP
+        "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.>"
+#endif
 );
 
 static const char* const valid_modargs[] = {
@@ -43,6 +47,10 @@ static const char* const valid_modargs[] = {
     "ducking_roles",
     "global",
     "volume",
+#ifdef TIZEN_VOLUME_RAMP
+    "fade_out",
+    "fade_in",
+#endif
     NULL
 };