summaryrefslogtreecommitdiff
path: root/src/modules/module-role-ducking.c
AgeCommit message (Collapse)AuthorFilesLines
2016-07-04pulsecore: Move pa_core structure into its own headerArun Raghavan1-0/+1
The idea is to allow some parts of the code to use pa_core as an opaque structure and access required members via API, over which we can then perform some form of access control Signed-off-by: Arun Raghavan <arun@arunraghavan.net>
2016-04-20role-ducking: Add support for ducking groupSangchul Lee1-3/+3
Now, trigger_roles, ducking_roles and volume can be divided into several groups by slash. That means each group can be affected by its own volume policy. If we need to apply ducking volume level differently that is triggered from each trigger role(s), this feature would be useful for this purpose. For example, let's assume that tts should take music and video's volume down to 40% whereas voice_recognition should take those and tts's volume down to 20%. In this case, the configuration can be written as below. trigger_roles=tts/voice_recognition ducking_roles=music,video/music,video,tts volume=40%/20% If one of ducking role is affected by more than two trigger roles simultaneously, volume of the ducking role will be applied by method of multiplication. And it works in the same way as before without any slash. Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2016-03-21role-ducking: use the common code in stream-interaction.cGeorg Chini1-274/+3
2016-02-18role-ducking: Fix improper unducking behavior in case of operating globallySangchul Lee1-1/+17
Fix improper unducking behavior when using this module with "global=1" argument. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=93994 Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2015-01-14update FSF addresses to FSF web pageOndrej Holecek1-3/+1
FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources.
2013-02-16idxset: Use pa_free_cb_t instead of pa_free2_cb_tTanu Kaskinen1-12/+7
There were no users for the userdata pointer.
2012-12-19role-ducking: Apply a ducking effect based on streams rolesFlavio Ceolin1-0/+323
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