pactl, pacmd, cli-command: Add send-message command

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/51>
This commit is contained in:
Georg Chini 2020-01-14 10:24:36 +01:00 committed by Tanu Kaskinen
parent 4cdc0053c0
commit 68f2f1395d
9 changed files with 122 additions and 4 deletions

15
doc/messaging_api.txt Normal file
View file

@ -0,0 +1,15 @@
Message API reference
The message API allows any object within pulseaudio to register a message
handler. A message handler is a function that can be called by clients using
PA_COMMAND_SEND_OBJECT_MESSAGE. A message consists at least of an object path
and a message command, both specified as strings. Additional parameters can
be specified using a single string, but are not mandatory. The message handler
returns an error number as defined in def.h and also returns a string in
the "response" variable. The following reference lists available messages,
their parameters and return values.
Recipient:
Message:
Parameters:
Return value: