mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
bluez5: drop old SCO fragment data when sink starts
Any pending SCO fragment data should be cleared when sink starts, so that we don't send out any old data.
This commit is contained in:
parent
665a27f281
commit
7fd05e7eaa
3 changed files with 7 additions and 0 deletions
|
|
@ -1550,6 +1550,7 @@ static int transport_start(struct impl *this)
|
|||
int res;
|
||||
if ((res = spa_bt_transport_ensure_sco_io(this->transport, this->data_loop, this->data_system)) < 0)
|
||||
goto fail;
|
||||
spa_bt_sco_io_write_start(this->transport->sco_io);
|
||||
}
|
||||
|
||||
if (!this->transport->iso_io && !is_asha) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue