Parent: 72b02df3b2b40a3ac38832e2e80a16eb6b3bef04
Author: Bastien Nocera <hadess@hadess.net>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-09-18 16:09:14
Tree: c816793d923317cc85648ed1c2c8067085e97a97
transport: Fix build with A2DP support disabled $ ./bootstrap-configure --disable-a2dp && make [...] profiles/audio/transport.c: In function ‘media_transport_update_delay’: profiles/audio/transport.c:2653:33: error: implicit declaration of function ‘a2dp_avdtp_get’ [-Wimplicit-function-declaration] 2653 | a2dp->session = a2dp_avdtp_get(transport->device); | ^~~~~~~~~~~~~~ profiles/audio/transport.c:2653:31: error: assignment to ‘struct avdtp *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2653 | a2dp->session = a2dp_avdtp_get(transport->device); | ^ Reported-by: Arun Raghavan <arun@accosted.net> Fixes: 0bb66d3d1abd ("transport: fix A2DP Delay values missing from DBus")
Diffstat
| M | profiles/audio/transport.c | | | 2 | ++ |
1 files changed, 2 insertions(+), 0 deletions(-)