Skip to content

Commit 20b3535

Browse files
committed
[int][opt][zbt] fix compile error
Project: Bluetooth redmine: #5146, REDMINE-id ext-redmine: bug|feat#id [Description in detail] Affected branch: [master] Change-Id: I0fc2d54d7ca4138f626b6bc2b34e271688b9e1fd
1 parent dd16f13 commit 20b3535

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

service/bt/bt_finsh/bts2_app_av_snk.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,13 @@
6060
#include "log.h"
6161
#if defined(AUDIO_USING_MANAGER) && defined(AUDIO_BT_AUDIO)
6262
#include "audio_server.h"
63+
#include "sifli_resample.h"
6364
#endif
6465
#if PKG_USING_VBE_DRC
6566
#include "vbe_eq_drc_api.h"
6667
#define A2DP_VBE_OUT_BUFFER_SIZE 8192
6768
#endif
6869

69-
#include "sifli_resample.h"
70-
static sifli_resample_t *resample;
71-
7270
uint8_t bts2s_avsnk_openFlag;//0x00:dont open a2dp profile; 0x01:open a2dp profile;
7371
uint8_t frms_per_payload;
7472

@@ -101,7 +99,7 @@ extern bts2_app_stru *bts2g_app_p;
10199

102100

103101
#if defined(AUDIO_USING_MANAGER) && defined(AUDIO_BT_AUDIO)
104-
102+
static sifli_resample_t *resample;
105103
static rt_event_t g_playback_evt;
106104
static rt_thread_t g_playback_thread = NULL;
107105
#define PLAYBACK_GETDATA_EVENT_FLAG (1 << 0)

0 commit comments

Comments
 (0)