Georg Chini
d9c91f852e
stream-interaction: interact if a stream starts corked
...
This patch deals with the case that applications start new streams corked.
In case of module-role-cork it will only mute the stream because corking is
removed later by the application.
2016-03-21 20:26:57 +02:00
Georg Chini
2ed0f1cb24
stream-interaction: add ducking functionality
2016-03-21 14:29:02 +02:00
Georg Chini
4731690a21
stream-interaction: Bugfix for improper uncorking behavior with global=1
...
This patch is based on a recent patch for module-role-ducking from Sangchul Lee
which fixes incorrect behavior when global is set to 1. Original commit can be found
here:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=d049c2941e6aef5ff33bcd0b4adece12289302b7
2016-03-18 10:14:31 +02:00
Georg Chini
bc10d26621
role-cork: more cosmetic changes, changed debug output
...
Change names of shall_interact() and is_trigger_stream() because the names look
like the functions return a boolean. Simpler debugging output.
2016-03-16 13:29:04 +02:00
Georg Chini
c03cf89b33
role-cork: prepare merge with role-ducking: replace "cork" with "interact" where appropriate
...
Again, interact includes cork and duck.
2016-03-15 13:02:04 +02:00
Georg Chini
f12102857a
role-cork: prepare merge with role-ducking: move most code to stream-interaction.c
...
Filename suggested by Tanu, as it includes both, cork and duck.
2016-03-14 10:46:57 +02:00