mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
bluez5: reset timers when reassigning followers
Driver timeouts need to be started/stopped when we switch from follower to driver or vice versa. The BT sources fail to do this, so fix it. Sinks already do it right.
This commit is contained in:
parent
c0fc29494f
commit
d388c206ef
2 changed files with 2 additions and 0 deletions
|
|
@ -276,6 +276,7 @@ static int do_reassign_follower(struct spa_loop *loop,
|
|||
struct impl *this = user_data;
|
||||
struct port *port = &this->port;
|
||||
|
||||
set_timers(this);
|
||||
spa_bt_decode_buffer_recover(&port->buffer);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue