File tree 1 file changed +16
-10
lines changed
1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,9 @@ struct pipewire_context
356
356
.bound_id = {},
357
357
.add_mem = {},
358
358
.remove_mem = {},
359
+ #if defined(PW_CORE_EVENT_BOUND_PROPS)
359
360
.bound_props = {},
361
+ #endif
360
362
};
361
363
362
364
spa_zero (core_listener);
@@ -541,16 +543,20 @@ class pipewire_audio_protocol : public audio_engine
541
543
{
542
544
auto & pw = libpipewire::instance ();
543
545
544
- static constexpr const struct pw_filter_events filter_events
545
- = {.version = PW_VERSION_FILTER_EVENTS,
546
- .destroy = {},
547
- .state_changed = {},
548
- .io_changed = {},
549
- .param_changed = {},
550
- .add_buffer = {},
551
- .remove_buffer = {},
552
- .process = on_process,
553
- .drained = {}};
546
+ static constexpr const struct pw_filter_events filter_events = {
547
+ .version = PW_VERSION_FILTER_EVENTS,
548
+ .destroy = {},
549
+ .state_changed = {},
550
+ .io_changed = {},
551
+ .param_changed = {},
552
+ .add_buffer = {},
553
+ .remove_buffer = {},
554
+ .process = on_process,
555
+ .drained = {},
556
+ #if PW_VERSION_CORE > 3
557
+ .command = {},
558
+ #endif
559
+ };
554
560
555
561
this ->loop = loop;
556
562
You can’t perform that action at this time.
0 commit comments