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

@ -79,6 +79,9 @@ struct pw_manager_object {
uint32_t version;
struct pw_properties *props;
struct pw_proxy *proxy;
char *message_object_path;
int (*message_handler)(struct pw_manager *m, struct pw_manager_object *o,
const char *message, const char *params, char **response);
int changed;
void *info;