bluez5: update timestamping code to match kernel & bluez

Update code to match the final version landed in mainline Linux 6.15
This commit is contained in:
Pauli Virtanen 2024-05-26 12:46:31 +03:00 committed by Wim Taymans
parent e375364c87
commit 897748759e
4 changed files with 84 additions and 31 deletions

View file

@ -434,7 +434,7 @@ static struct stream *stream_create(struct spa_bt_transport *t, struct group *gr
stream->this.format = format;
stream->block_size = block_size;
spa_bt_latency_init(&stream->tx_latency, stream->fd, LATENCY_PERIOD, group->log);
spa_bt_latency_init(&stream->tx_latency, t, LATENCY_PERIOD, group->log);
if (sink)
stream_silence(stream);