mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
device-restore: Various fixes for the protocol extension.
* Fix extension API function export list. * Ensure we trigger a subscription event when things change. * Send the index with our subscription events. * Clear out any existing formats when saving. * Call the correct extension command for subscriptions.
This commit is contained in:
parent
738cea3cc3
commit
fc0a6ee239
5 changed files with 39 additions and 6 deletions
|
|
@ -1424,7 +1424,7 @@ void pa_command_extension(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_t
|
|||
if (pa_streq(name, "module-device-manager"))
|
||||
pa_ext_device_manager_command(c, tag, t);
|
||||
else if (pa_streq(name, "module-device-restore"))
|
||||
pa_ext_device_manager_command(c, tag, t);
|
||||
pa_ext_device_restore_command(c, tag, t);
|
||||
else if (pa_streq(name, "module-stream-restore"))
|
||||
pa_ext_stream_restore_command(c, tag, t);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue