public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] 9ddeab: transport: Fix build with A2DP support disabled
@ 2025-09-12  1:06 hadess
  0 siblings, 0 replies; only message in thread
From: hadess @ 2025-09-12  1:06 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1001555
  Home:   https://github.com/bluez/bluez
  Commit: 9ddeabfc7d7e6228fef78a0b018fb41b99885387
      https://github.com/bluez/bluez/commit/9ddeabfc7d7e6228fef78a0b018fb41b99885387
  Author: Bastien Nocera <hadess@hadess.net>
  Date:   2025-09-12 (Fri, 12 Sep 2025)

  Changed paths:
    M profiles/audio/transport.c

  Log Message:
  -----------
  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")



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-09-12  1:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-12  1:06 [bluez/bluez] 9ddeab: transport: Fix build with A2DP support disabled hadess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox