mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
monitor: remove enum_items
Make the monitor and device emit the info and items when the callbacks are set. This makes it easier to implement the monitor because there is much less state to keep around and invalidate etc. Rework the monitors Add bluez5 device
This commit is contained in:
parent
10d277ce03
commit
57e94f7bc4
15 changed files with 510 additions and 332 deletions
|
|
@ -121,7 +121,7 @@ static void monitor_event(void *_data, struct spa_event *event)
|
|||
|
||||
static struct spa_monitor_callbacks monitor_callbacks = {
|
||||
SPA_VERSION_MONITOR_CALLBACKS,
|
||||
monitor_event,
|
||||
.event = monitor_event,
|
||||
};
|
||||
|
||||
static int get_handle(struct data *data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue