Commit: 0bb66d3d1abd7d25b840d535c03b1b9613727d5c
Parent: ce82168f9f708a61efaa2bac734997db01c9ffdb
Author: Pauli Virtanen <pav@iki.fi>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-08-19 00:02:29
Tree: 083132f4b18cebafb0b0668b99036a937ea7d236

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

Diffstat

M profiles/audio/transport.c | 3 +++

1 files changed, 3 insertions(+), 0 deletions(-)

View Full Diff | Patch