Bluetooth: Audio: Media control Kconfig

Add Kconfig file for the media proxy, for high-level media control
configuration.

The media proxy did not have a Kconfig file, it was relying on the
Kconfigs for GATT media control client and server.

The purpose is to unify the media control configurations, to make the
different media control functionalities available separately, and to
separate the high-level media control from the bluetooth media control
server and client.

Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no>
This commit is contained in:
Asbjørn Sæbø 2022-02-15 14:43:33 +01:00 committed by Carles Cufí
commit 29aa654600
6 changed files with 84 additions and 14 deletions

View file

@ -38,12 +38,7 @@ zephyr_library_sources_ifdef(CONFIG_BT_MCS mcs.c)
zephyr_library_sources_ifdef(CONFIG_BT_MPL mpl.c)
if (CONFIG_BT_MCS OR CONFIG_BT_MPL)
# TODO: Remove dependencies between mpl.c and mcs.c
zephyr_library_sources(media_proxy.c)
zephyr_library_sources(mpl.c)
zephyr_library_sources(mcs.c)
endif()
zephyr_library_sources_ifdef(CONFIG_MCTL media_proxy.c)
zephyr_library_sources_ifdef(CONFIG_BT_ASCS ascs.c)
zephyr_library_sources_ifdef(CONFIG_BT_PACS pacs.c)