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:
Colin Guthrie 2011-08-08 23:29:47 +02:00
parent 738cea3cc3
commit fc0a6ee239
5 changed files with 39 additions and 6 deletions

View file

@ -154,6 +154,7 @@ pa_ext_device_manager_test;
pa_ext_device_restore_read_sink_formats;
pa_ext_device_restore_read_sink_formats_all;
pa_ext_device_restore_save_sink_formats;
pa_ext_device_restore_set_subscribe_cb;
pa_ext_device_restore_subscribe;
pa_ext_device_restore_test;
pa_ext_stream_restore_delete;