mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-23 04:04:36 +08:00
77e4c0976c
This adds an initial implementation of the BAP Broadcast Assistant role in the BASS plugin, by introducing the MediaAssistant DBus object. The BAP plugin implements the callback to probe Broadcast Sources and parse the BASE. This commit adds 2 BASS APIs, that will be called by the BAP plugin to notify BISes discovered in the BASE of a broadcaster to BASS, or to inform the BASS plugin that a broadcaster has been removed. For each BASS client session, the BASS plugin checks BIS caps against the peer caps, and registers a MediaAssistant object for each match.
155 lines
3.8 KiB
Makefile
155 lines
3.8 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
builtin_modules += hostname
|
|
builtin_sources += plugins/hostname.c
|
|
|
|
builtin_modules += wiimote
|
|
builtin_sources += plugins/wiimote.c
|
|
|
|
builtin_modules += autopair
|
|
builtin_sources += plugins/autopair.c
|
|
|
|
builtin_modules += policy
|
|
builtin_sources += plugins/policy.c
|
|
|
|
if ADMIN
|
|
builtin_modules += admin
|
|
builtin_sources += plugins/admin.c
|
|
endif
|
|
|
|
if NFC
|
|
builtin_modules += neard
|
|
builtin_sources += plugins/neard.c
|
|
endif
|
|
|
|
if SAP
|
|
builtin_modules += sap
|
|
builtin_sources += profiles/sap/main.c profiles/sap/manager.h \
|
|
profiles/sap/manager.c profiles/sap/server.h \
|
|
profiles/sap/server.c profiles/sap/sap.h \
|
|
profiles/sap/sap-dummy.c
|
|
endif
|
|
|
|
if A2DP
|
|
builtin_modules += a2dp
|
|
builtin_sources += profiles/audio/source.h profiles/audio/source.c \
|
|
profiles/audio/sink.h profiles/audio/sink.c \
|
|
profiles/audio/a2dp.h profiles/audio/a2dp.c \
|
|
profiles/audio/avdtp.h profiles/audio/avdtp.c \
|
|
profiles/audio/media.h profiles/audio/media.c \
|
|
profiles/audio/transport.h profiles/audio/transport.c \
|
|
profiles/audio/a2dp-codecs.h
|
|
endif
|
|
|
|
|
|
if AVRCP
|
|
builtin_modules += avrcp
|
|
builtin_sources += profiles/audio/control.h profiles/audio/control.c \
|
|
profiles/audio/avctp.h profiles/audio/avctp.c \
|
|
profiles/audio/avrcp.h profiles/audio/avrcp.c \
|
|
profiles/audio/player.h profiles/audio/player.c
|
|
endif
|
|
|
|
if NETWORK
|
|
builtin_modules += network
|
|
builtin_sources += profiles/network/manager.c \
|
|
profiles/network/bnep.h profiles/network/bnep.c \
|
|
profiles/network/server.h profiles/network/server.c \
|
|
profiles/network/connection.h \
|
|
profiles/network/connection.c
|
|
endif
|
|
|
|
if HID
|
|
builtin_modules += input
|
|
builtin_sources += profiles/input/manager.c \
|
|
profiles/input/server.h profiles/input/server.c \
|
|
profiles/input/device.h profiles/input/device.c \
|
|
profiles/input/hidp_defs.h profiles/input/sixaxis.h
|
|
endif
|
|
|
|
if HOG
|
|
builtin_modules += hog
|
|
builtin_sources += profiles/input/hog.c \
|
|
profiles/input/hog-lib.c profiles/input/hog-lib.h \
|
|
profiles/deviceinfo/dis.c profiles/deviceinfo/dis.h \
|
|
profiles/battery/bas.c profiles/battery/bas.h \
|
|
profiles/scanparam/scpp.c profiles/scanparam/scpp.h \
|
|
profiles/input/suspend.h profiles/input/suspend-none.c
|
|
endif
|
|
|
|
if HEALTH
|
|
builtin_modules += health
|
|
builtin_sources += profiles/health/mcap.h profiles/health/mcap.c \
|
|
profiles/health/hdp_main.c profiles/health/hdp_types.h \
|
|
profiles/health/hdp_manager.h \
|
|
profiles/health/hdp_manager.c \
|
|
profiles/health/hdp.h profiles/health/hdp.c \
|
|
profiles/health/hdp_util.h profiles/health/hdp_util.c
|
|
endif
|
|
|
|
builtin_modules += gap
|
|
builtin_sources += profiles/gap/gas.c
|
|
|
|
builtin_modules += scanparam
|
|
builtin_sources += profiles/scanparam/scan.c
|
|
|
|
builtin_modules += deviceinfo
|
|
builtin_sources += profiles/deviceinfo/deviceinfo.c
|
|
|
|
if MIDI
|
|
builtin_modules += midi
|
|
builtin_sources += profiles/midi/midi.c \
|
|
profiles/midi/libmidi.h \
|
|
profiles/midi/libmidi.c
|
|
builtin_cppflags += $(ALSA_CFLAGS)
|
|
builtin_ldadd += $(ALSA_LIBS)
|
|
endif
|
|
|
|
builtin_modules += battery
|
|
builtin_sources += profiles/battery/battery.c
|
|
|
|
if SIXAXIS
|
|
builtin_modules += sixaxis
|
|
builtin_sources += plugins/sixaxis.c
|
|
builtin_ldadd += $(UDEV_LIBS)
|
|
endif
|
|
|
|
if BAP
|
|
builtin_modules += bap
|
|
builtin_sources += profiles/audio/bap.h profiles/audio/bap.c
|
|
endif
|
|
|
|
if BASS
|
|
builtin_modules += bass
|
|
builtin_sources += profiles/audio/bass.h profiles/audio/bass.c
|
|
endif
|
|
|
|
if MCP
|
|
builtin_modules += mcp
|
|
builtin_sources += profiles/audio/mcp.c
|
|
endif
|
|
|
|
if VCP
|
|
builtin_modules += vcp
|
|
builtin_sources += profiles/audio/vcp.c
|
|
endif
|
|
|
|
if MICP
|
|
builtin_modules += micp
|
|
builtin_sources += profiles/audio/micp.c
|
|
endif
|
|
|
|
if CCP
|
|
builtin_modules += ccp
|
|
builtin_sources += profiles/audio/ccp.c
|
|
endif
|
|
|
|
if CSIP
|
|
builtin_modules += csip
|
|
builtin_sources += profiles/audio/csip.c
|
|
endif
|
|
|
|
if ASHA
|
|
builtin_modules += asha
|
|
builtin_sources += profiles/audio/asha.h profiles/audio/asha.c
|
|
endif
|