pulseaudio/src
Tanu Kaskinen 2ee398fd94 match: Support for both merging and replacing proplist updates.
This patch adds a new update mode specifier that can be optionally
given in match rules after the regexp. Property list updates triggered
by the rule will honour the given mode. The two allowed modes are 'merge'
and 'replace', corresponding to PA_UPDATE_MERGE and PA_UPDATE_REPLACE
respectively. If omitted, the mode defaults to PA_UPDATE_MERGE, ie. to
the original behavior.

For example, to force 'media.role' to be overwritten with 'bar' for
streams matching foo you can use an entry like this:

foo replace "bar"

This will really overwrite media.role to bar even if it has already been
set to something else by the application.

Thanks to Krisztian Litkey for the original patch and the description
above. In addition to implementing the new feature, this patch fixes
a number of bugs in the parsing code.
2011-04-29 12:37:58 +01:00
..
daemon daemon: Fix regression introduced in f1d1447e. 2011-03-25 23:14:28 +00:00
modules match: Support for both merging and replacing proplist updates. 2011-04-29 12:37:58 +01:00
pulse filters: Handle stream moves properly 2011-04-23 18:23:38 +01:00
pulsecore core: Drop empty gaps in the memblockq when playing data from it. 2011-04-28 14:05:42 +01:00
tests test: Make the connect-stress less likely to bail out due to >32 streams. 2011-04-23 18:23:38 +01:00
utils pactl: Add short output format for list action 2011-03-29 21:24:46 +01:00
.gitignore Remove remaining ramping/envelope references 2011-02-28 17:13:13 +05:30
depmod.py remove remaining $ 2008-06-18 22:38:32 +02:00
Makefile.am module-null-source: New null-source module 2011-04-28 10:45:20 +01:00
map-file volume: add pa_cvolume_inc_clamp function 2009-11-05 04:56:47 +01:00