Ai
1 Star 0 Fork 1.3K

许学海/multimedia_audio_framework_1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.gni 3.56 KB
一键复制 编辑 原始数据 按行查看 历史
buertianshi 提交于 2025-03-22 15:03 +08:00 . 音区8
# Copyright (c) 2022-2023 Huawei Device Co., Ltd.
# 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.
declare_args() {
audio_framework_feature_wired_audio = true
audio_framework_feature_double_pnp_detect = false
audio_framework_feature_dtmf_tone = true
audio_framework_feature_detect_soundbox = false
audio_framework_feature_support_os_account = true
audio_framework_feature_opensl_es = true
sonic_enable = true
speex_enable = false
audio_framework_feature_distributed_audio = true
audio_framework_feature_hitrace_enable = true
audio_framework_config_policy_enable = true
audio_framework_feature_input = true
audio_framework_feature_power_manager = true
audio_framework_feature_device_manager = true
audio_framework_enable_unittest_debug = false
audio_framework_feature_hiview_enable = true
audio_framework_feature_offline_effect = true
audio_telephony_core_service_enable = true
audio_telephony_cellular_data_enable = true
audio_framework_feature_file_io = true
audio_framework_feature_inner_capturer = true
audio_framework_feature_low_latency = true
audio_framework_feature_usb_audio = false
if (defined(global_parts_info) &&
defined(global_parts_info.usb_usb_manager)) {
audio_framework_feature_usb_audio = true
}
if (!defined(global_parts_info) ||
defined(global_parts_info.hdf_drivers_interface_distributed_audio)) {
audio_framework_feature_distributed_audio = true
} else {
audio_framework_feature_distributed_audio = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.hiviewdfx_hitrace)) {
audio_framework_feature_hitrace_enable = true
} else {
audio_framework_feature_hitrace_enable = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.customization_config_policy)) {
audio_framework_config_policy_enable = true
} else {
audio_framework_config_policy_enable = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.multimodalinput_input)) {
audio_framework_feature_input = true
} else {
audio_framework_feature_input = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.powermgr_power_manager)) {
audio_framework_feature_power_manager = true
} else {
audio_framework_feature_power_manager = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.distributedhardware_device_manager)) {
audio_framework_feature_device_manager = true
} else {
audio_framework_feature_device_manager = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.hiviewdfx_hiview)) {
audio_framework_feature_hiview_enable = true
} else {
audio_framework_feature_hiview_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.telephony_core_service)) {
audio_telephony_core_service_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.telephony_cellular_data)) {
audio_telephony_cellular_data_enable = false
}
audio_framework_feature_new_napi = true
}
third_party_path = "//third_party"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xu-xuehai/multimedia_audio_framework_1.git
git@gitee.com:xu-xuehai/multimedia_audio_framework_1.git
xu-xuehai
multimedia_audio_framework_1
multimedia_audio_framework_1
master

搜索帮助