[pulseaudio-discuss] [PATCH 0/3] Another try at making port properties configurable

Tanu Kaskinen tanuk at iki.fi
Sat Dec 3 02:26:07 PST 2011

This is the second attempt at making it possible to
configure port properties in the alsa path configuration
files. This time the configuration file format is nicer.

Parsing the proplist is implemented by making
"Property List" sections a special case in the generic
configuration parser. It's a bit hacky, but this solution
requires only minimal changes to the conf-parser interface,
which is why I chose this approach.

Tanu Kaskinen (3):
  conf-parser: Pass parser state in a struct instead of function
  conf-parser: Add support for parsing property lists.
  alsa-mixer: Add support for defining port property lists in the path
    configuration files.

 src/daemon/daemon-conf.c                           |    2 +-
 src/modules/alsa/alsa-mixer.c                      |   15 ++-
 src/modules/alsa/alsa-mixer.h                      |    1 +
 .../alsa/mixer/paths/analog-output.conf.common     |    4 +
 src/modules/module-augment-properties.c            |    2 +-
 src/pulse/client-conf.c                            |    2 +-
 src/pulsecore/conf-parser.c                        |  142 +++++++++++++-------
 src/pulsecore/conf-parser.h                        |   17 ++-
 8 files changed, 130 insertions(+), 55 deletions(-)


More information about the pulseaudio-discuss mailing list