* [bluez/bluez] 0bb66d: transport: fix A2DP Delay values missing from DBus
@ 2025-08-18 21:38 Pauli Virtanen
0 siblings, 0 replies; only message in thread
From: Pauli Virtanen @ 2025-08-18 21:38 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/master
Home: https://github.com/bluez/bluez
Commit: 0bb66d3d1abd7d25b840d535c03b1b9613727d5c
https://github.com/bluez/bluez/commit/0bb66d3d1abd7d25b840d535c03b1b9613727d5c
Author: Pauli Virtanen <pav@iki.fi>
Date: 2025-08-18 (Mon, 18 Aug 2025)
Changed paths:
M profiles/audio/transport.c
Log Message:
-----------
transport: fix A2DP Delay values missing from DBus
With headsets, a2dp_transport::session == NULL usually until stream
resumes. During this time, delay_reporting_exists() incorrectly returns
FALSE, because streams corresponding to NULL session cannot be found.
As no further "Delay" property updates will usually arrive, the property
remains missing even though delay reports have been received.
Fix by setting a2dp->session when processing a delay report, if missing.
Log (bluetoothctl):
[NEW] Transport /org/bluez/hci1/dev_XX_XX_XX_XX_XX_XX/sep2/fd1
[CHG] Transport /org/bluez/hci1/dev_XX_XX_XX_XX_XX_XX/sep2/fd1 Delay is nil
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-18 21:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-18 21:38 [bluez/bluez] 0bb66d: transport: fix A2DP Delay values missing from DBus Pauli Virtanen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox