[pulseaudio-discuss] [PATCH v3] role-ducking: Apply a ducking effect based on streams roles

Tanu Kaskinen tanuk at iki.fi
Thu Dec 13 23:44:21 PST 2012

On Thu, 2012-12-13 at 17:00 -0200, Flavio Ceolin wrote:
> This module works pretty similar to the module-role-cork.
> It should be used as an alternative to that module. Basically
> it decreases the volume of the streams specified in ducking_roles
> in the presence of at least one stream specified in trigger_roles.
> Also, it's possible to choice the volume that will be used in the
> ducking streams and if it should operates in all devices or not.
> For basic reference: http://en.wikipedia.org/wiki/Ducking
> ---
>  src/Makefile.am                   |  10 +-
>  src/modules/module-role-ducking.c | 326 ++++++++++++++++++++++++++++++++++++++
>  2 files changed, 335 insertions(+), 1 deletion(-)
>  create mode 100644 src/modules/module-role-ducking.c

Thanks, applied to the "next" branch with some small changes: replaced
"TRUE" and "FALSE" with "true" and "false", adjusted the "volume" module
argument documentation and changed the default volume from full volume
to -20dB. Defaulting to full volume doesn't make sense, because then the
module does effectively nothing.


More information about the pulseaudio-discuss mailing list