[pulseaudio-discuss] [PATCH 2/3] conf-parser: Add support for parsing property lists.

David Henningsson david.henningsson at canonical.com
Sun Dec 4 08:54:22 PST 2011


> + * Some configuration files may contain a Property List section, which
> + * is a bit special. Normally all accepted lvalues must be predefined
> + * in the pa_config_item table, but in the Property List section the
> + * pa_config_item table is ignored, and all lvalues are accepted (as
> + * long as they are valid proplist keys). If the proplist pointer is
> + * non-NULL, the parser will parse any section named "Property List" as
> + * properties, and those properties will be merged into the given
> + * proplist. If proplist is NULL, then sections named "Property List"
> + * are not allowed at all in the configuration file.
> + */

Now that I think of it, [Properties] is probably an even better section 
name - what do you think?

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic


More information about the pulseaudio-discuss mailing list