mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05: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
|
|
@ -207,6 +207,11 @@ fail:
|
|||
return res;
|
||||
}
|
||||
|
||||
void spa_bt_sco_io_write_start(struct spa_bt_sco_io *io)
|
||||
{
|
||||
/* drop fragment */
|
||||
io->write_size = 0;
|
||||
}
|
||||
|
||||
struct spa_bt_sco_io *spa_bt_sco_io_create(struct spa_bt_transport *transport, struct spa_loop *data_loop,
|
||||
struct spa_system *data_system, struct spa_log *log)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue