iR58/bk_aidk/projects/soundhub/main/bt/headset_user_config.h
2025-05-08 18:01:52 +08:00

38 lines
1.1 KiB
C

// Copyright 2020-2021 Beken
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#define CONFIG_A2DP_AUDIO
#define BT_AUDIO_SINK_DEMO_MSG_COUNT (60)
#define LOCAL_NAME "soundhub"
#define A2DP_SINK_DEMO_TASK_PRIORITY (4)
#define CONFIG_A2DP_CACHE_FRAME_NUM 4
#define DEFAULT_A2DP_VOLUME 0x5A
#define PAGE_SCAN_INTV 0x0800 //1.28s
#define PAGE_SCAN_WIN 0x00B4 //11.25ms
#define CONFIG_PAGE_TIMEOUT 16000 //unit of 0.625ms
#define CONFIG_RECONN_INTERVAL 2000 //unit of 1ms
#define CONFIG_WIFI_COEX_SCHEME 1
#define CONFIG_USE_AUDIO_LEGACY_INTERFACE 0
#define CONFIG_BOARD_AUDIO_CHANNLE_NUM 1