[pulseaudio-discuss] [RFC] Property getter API for pa_format_info

Arun Raghavan arun.raghavan at collabora.co.uk
Tue Feb 7 00:20:42 PST 2012


Hi folks,
Embarassingly enough, I missed out adding getters for pa_format_info properties
when introducing them. Here comes a patch series for adding these.

In order to not completely disrupt how we use properties for formats, we're
currently them in a proplist as (key, value) pairs as with normal proplists,
with the exception that values are actually parseable as JSON objects.

In the nebulous future, we would likely want to move our internal
representation over to be completely JSON-ified, rather than piecemeal as it is
now. We should not have to change the client API if/when this happens, so I've
tried to make sure the getters and type querying allow for this. More eyeballs
would certainly not hurt, though.

Cheers,
Arun



More information about the pulseaudio-discuss mailing list