mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pulse: implement some more extensions
Most just return nothing or say that the extension is not supported. Remove some warnings, they should show up in the log from setting the error in the context.
This commit is contained in:
parent
62cea9c6d5
commit
451fee2208
4 changed files with 153 additions and 32 deletions
|
|
@ -23,8 +23,6 @@
|
|||
|
||||
#include "internal.h"
|
||||
|
||||
#define EXT_VERSION 1
|
||||
|
||||
struct stream_data {
|
||||
pa_context *context;
|
||||
pa_ext_stream_restore_test_cb_t test_cb;
|
||||
|
|
@ -38,7 +36,7 @@ static void restore_test(pa_operation *o, void *userdata)
|
|||
struct stream_data *d = userdata;
|
||||
|
||||
if (d->test_cb)
|
||||
d->test_cb(o->context, EXT_VERSION, d->userdata);
|
||||
d->test_cb(o->context, PA_INVALID_INDEX, d->userdata);
|
||||
|
||||
pa_operation_done(o);
|
||||
}
|
||||
|
|
@ -197,5 +195,4 @@ void pa_ext_stream_restore_set_subscribe_cb(
|
|||
pa_ext_stream_restore_subscribe_cb_t cb,
|
||||
void *userdata)
|
||||
{
|
||||
pw_log_warn("Not Implemented");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue