During the Desktop Summit, Colin and I discussed how Ubuntu best can
ship jack detection patches before they are merged upstream, when these
patches require protocol extensions. The suggestion was to "reserve" a
protocol version by writing an email here.
So, I hereby reserve protocol version 24 to mean the following:
Every sink and source port has an additional uint32_t field at the end,
with the following meaning:
PA_PORT_AVAILABLE_UNKNOWN = 0, /**< This port does not support jack
detection. */
PA_PORT_AVAILABLE_NO = 1, /**< This port is not available, likely
because the jack is not plugged in. */
PA_PORT_AVAILABLE_YES = 2, /**< This port is available, likely
because the jack is plugged in. */
--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss