mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
bluez5: iso-io: get BAP interval from dbus, not getsockopt
For ISO server sockets, the QOS struct from getsockopt contains values with different meaning from ISO client socket. Get the values via DBus instead, which is right in both cases.
This commit is contained in:
parent
ae76789f24
commit
eca13ec230
4 changed files with 13 additions and 23 deletions
|
|
@ -30,8 +30,8 @@ struct spa_bt_iso_io
|
|||
|
||||
typedef void (*spa_bt_iso_io_pull_t)(struct spa_bt_iso_io *io);
|
||||
|
||||
struct spa_bt_iso_io *spa_bt_iso_io_create(int fd, bool sink, struct spa_log *log,
|
||||
struct spa_loop *data_loop, struct spa_system *data_system);
|
||||
struct spa_bt_iso_io *spa_bt_iso_io_create(int fd, bool sink, uint8_t cig, uint32_t interval,
|
||||
struct spa_log *log, struct spa_loop *data_loop, struct spa_system *data_system);
|
||||
struct spa_bt_iso_io *spa_bt_iso_io_attach(struct spa_bt_iso_io *io, int fd, bool sink);
|
||||
void spa_bt_iso_io_destroy(struct spa_bt_iso_io *io);
|
||||
void spa_bt_iso_io_set_cb(struct spa_bt_iso_io *io, spa_bt_iso_io_pull_t pull, void *user_data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue