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:
Pauli Virtanen 2025-06-21 16:13:57 +03:00
parent 665a27f281
commit 7fd05e7eaa
3 changed files with 7 additions and 0 deletions

View file

@ -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) {