mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
pactl, pacmd, cli-command: Add send-message command
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/51>
This commit is contained in:
parent
4cdc0053c0
commit
68f2f1395d
9 changed files with 122 additions and 4 deletions
15
doc/messaging_api.txt
Normal file
15
doc/messaging_api.txt
Normal 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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue