pulse-server: implement send_object_message

Use it for providing Bluez codec listing/switching interface.  It
currently works by just switching device profiles.
This commit is contained in:
Pauli Virtanen 2021-03-20 00:11:12 +02:00
parent eb9b787db1
commit 132786c202
6 changed files with 292 additions and 12 deletions

View file

@ -39,7 +39,7 @@
#define PROTOCOL_FLAG_MASK 0xffff0000u
#define PROTOCOL_VERSION_MASK 0x0000ffffu
#define PROTOCOL_VERSION 34
#define PROTOCOL_VERSION 35
#define NATIVE_COOKIE_LENGTH 256
#define MAX_TAG_SIZE (64*1024)
@ -287,6 +287,9 @@ enum {
* BOTH DIRECTIONS */
COMMAND_REGISTER_MEMFD_SHMID,
/* Supported since protocol v35 (15.0) */
COMMAND_SEND_OBJECT_MESSAGE,
COMMAND_MAX
};