Skip to content

Commit

Permalink
AVRCP/A2DP zephyr4.0
Browse files Browse the repository at this point in the history
bug: v/52947

Signed-off-by: jialu <[email protected]>
  • Loading branch information
jialu522 committed Jan 24, 2025
1 parent b999116 commit 2bfd661
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ ifneq ($(CONFIG_BLUETOOTH_STACK_BREDR_ZBLUE)$(CONFIG_BLUETOOTH_STACK_LE_ZBLUE),)
ifeq ($(CONFIG_BLUETOOTH_BREDR_SUPPORT), y)
CSRCS += service/stacks/zephyr/sal_adapter_classic_interface.c
endif #CONFIG_BLUETOOTH_BREDR_SUPPORT
ifeq ($(CONFIG_BLUETOOTH_A2DP), y)
CSRCS += service/stacks/zephyr/sal_a2dp_interface.c
endif #CONFIG_BLUETOOTH_A2DP
ifneq ($(CONFIG_BLUETOOTH_AVRCP_CONTROL)$(CONFIG_BLUETOOTH_AVRCP_TARGET),)
CSRCS += service/stacks/zephyr/sal_avrcp_interface.c
endif #CONFIG_BLUETOOTH_AVRCP_CONTROL/CONFIG_BLUETOOTH_AVRCP_TARGET
endif
ifeq ($(CONFIG_BLUETOOTH_BLE_AUDIO),)
CSRCS := $(filter-out $(wildcard service/stacks/bluelet/sal_lea_*),$(wildcard $(CSRCS)))
Expand Down
1 change: 1 addition & 0 deletions service/profiles/a2dp/source/a2dp_source_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#include "audio_transport.h"
#include "utils.h"
#define LOG_TAG "a2dp_src_stream"
#include "sal_zblue.h"
#include "utils/log.h"

#include "service_loop.h"
Expand Down
2 changes: 1 addition & 1 deletion service/stacks/zephyr/sal_a2dp_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#include "sal_interface.h"
#include "sal_zblue.h"

#include <zephyr/bluetooth/classic/a2dp.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/zephyr3/a2dp.h>

#include "bt_utils.h"
#include "utils/log.h"
Expand Down
4 changes: 2 additions & 2 deletions service/stacks/zephyr/sal_avrcp_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
#include "sal_interface.h"
#include "sal_zblue.h"

#include <zephyr/bluetooth/classic/a2dp.h>
//#include <zephyr/bluetooth/avrcp_cttg.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/zephyr3/a2dp.h>
#include <zephyr/bluetooth/zephyr3/avrcp_cttg.h>

#include "bt_utils.h"
#include "utils/log.h"
Expand Down

0 comments on commit 2bfd661

Please sign in to comment.