mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
device-manager: Add an untested protocol extension.
This is effectively copied from the stream restore extension.
This commit is contained in:
parent
bc869b5b28
commit
37e82cec0a
6 changed files with 732 additions and 1 deletions
|
|
@ -128,6 +128,9 @@ static void reset_callbacks(pa_context *c) {
|
|||
c->event_callback = NULL;
|
||||
c->event_userdata = NULL;
|
||||
|
||||
c->ext_device_manager.callback = NULL;
|
||||
c->ext_device_manager.userdata = NULL;
|
||||
|
||||
c->ext_stream_restore.callback = NULL;
|
||||
c->ext_stream_restore.userdata = NULL;
|
||||
}
|
||||
|
|
@ -1434,6 +1437,8 @@ void pa_command_extension(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_t
|
|||
|
||||
if (!strcmp(name, "module-stream-restore"))
|
||||
pa_ext_stream_restore_command(c, tag, t);
|
||||
else if (!strcmp(name, "module-device-manager"))
|
||||
pa_ext_device_manager_command(c, tag, t);
|
||||
else
|
||||
pa_log(_("Received message for unknown extension '%s'"), name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue