mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
device-restore: Change the API to include type information (sink vs. source)
This changes the API, but as we have not released yet, this is OK.
This commit is contained in:
parent
9600d0c4b1
commit
d6b9e61b90
5 changed files with 77 additions and 32 deletions
|
|
@ -909,7 +909,7 @@ static void set_sink_formats(pa_context *c, uint32_t sink, const char *str) {
|
|||
pa_xfree(format);
|
||||
}
|
||||
|
||||
pa_operation_unref(pa_ext_device_restore_save_sink_formats(c, sink, i, f_arr, simple_callback, NULL));
|
||||
pa_operation_unref(pa_ext_device_restore_save_formats(c, PA_DEVICE_TYPE_SINK, sink, i, f_arr, simple_callback, NULL));
|
||||
|
||||
done:
|
||||
if (format)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue