[bluez/bluez] 9ddeab: transport: Fix build with A2DP support disabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/1001555
  Home:   https://github.com/bluez/bluez
  Commit: 9ddeabfc7d7e6228fef78a0b018fb41b99885387
      https://github.com/bluez/bluez/commit/9ddeabfc7d7e6228fef78a0b018fb41b99885387
  Author: Bastien Nocera <hadess@xxxxxxxxxx>
  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@xxxxxxxxxxxx>
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





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux