[pulseaudio-discuss] [PATCH 2/8] protocol-native: add message sending capability

Tanu Kaskinen tanuk at iki.fi
Wed Jul 4 12:51:31 UTC 2018


On Mon, 2018-04-09 at 19:35 +0200, Georg Chini wrote:
> This patch adds the PA_COMMAND_SEND_OBJECT_MESSAGE command to protocol-native
> so that clients can use the messaging feature introduced in the previous patch.
> 
> Sending messages can in effect replace the extension system for modules. The
> approach is more flexible than the extension interface because a generic string
> format is used to exchange information. Furthermore the messaging system can be
> used for any object, not only for modules, and is easier to implement than
> extensions.
> ---
>  PROTOCOL                        | 14 +++++++++
>  configure.ac                    |  2 +-
>  src/map-file                    |  1 +
>  src/pulse/introspect.c          | 64 +++++++++++++++++++++++++++++++++++++++++
>  src/pulse/introspect.h          | 16 +++++++++++
>  src/pulsecore/native-common.h   |  3 ++
>  src/pulsecore/pdispatch.c       |  3 ++
>  src/pulsecore/protocol-native.c | 52 +++++++++++++++++++++++++++++++++
>  8 files changed, 154 insertions(+), 1 deletion(-)

Looks good to me.

-- 
Tanu

https://liberapay.com/tanuk
https://www.patreon.com/tanuk


More information about the pulseaudio-discuss mailing list