[pulseaudio-discuss] [PATCH 0/2] Making port proplists configurable via path configuration files
Tanu Kaskinen
tanuk at iki.fi
Fri Dec 2 12:31:01 PST 2011
Here is a couple of patches for review, implementing port
proplist configuration through the path config files. The
functionality isn't very useful by itself, since there's
nothing that uses port proplists for anything, so I don't
know if these should be merged yet.
I implemented this, because I wanted some way to configure
a property for two special ports: the FM RX and FM TX ports
of the WL1273 chip. The WL1273 support module will monitor
all ports as they are activated and deactivated, and if
a port with the special property (maybe named
"bluez.fmradio.mode") is encountered, the module will make
a D-Bus call to bluetoothd to activate the correct audio
routing mode on the chip.
Tanu Kaskinen (2):
conf-parser: New function: pa_config_parse_proplist().
alsa-mixer: Add support for defining port property lists in the path
configuration files.
src/modules/alsa/alsa-mixer.c | 13 ++++++++++-
src/modules/alsa/alsa-mixer.h | 1 +
.../alsa/mixer/paths/analog-output.conf.common | 1 +
src/pulsecore/conf-parser.c | 24 ++++++++++++++++++++
src/pulsecore/conf-parser.h | 5 +++-
5 files changed, 42 insertions(+), 2 deletions(-)
--
1.7.7.3
More information about the pulseaudio-discuss
mailing list