代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/third_party_libsnd 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (c) 2021-2022 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.
import("//build/ohos.gni")
config("sndfile_config") {
visibility = [ ":*" ]
include_dirs = [
"src",
"include",
"src/GSM610",
"src/G72x",
"src/ALAC",
]
cflags = [
"-Wall",
"-Werror",
"-Wno-unused-but-set-variable",
]
}
ohos_source_set("sndfile_sources") {
sources = [
"src/ALAC/ALACBitUtilities.c",
"src/ALAC/ag_dec.c",
"src/ALAC/ag_enc.c",
"src/ALAC/alac_decoder.c",
"src/ALAC/alac_encoder.c",
"src/ALAC/dp_dec.c",
"src/ALAC/dp_enc.c",
"src/ALAC/matrix_dec.c",
"src/ALAC/matrix_enc.c",
"src/G72x/g721.c",
"src/G72x/g723_16.c",
"src/G72x/g723_24.c",
"src/G72x/g723_40.c",
"src/G72x/g72x.c",
"src/GSM610/add.c",
"src/GSM610/code.c",
"src/GSM610/decode.c",
"src/GSM610/gsm_create.c",
"src/GSM610/gsm_decode.c",
"src/GSM610/gsm_destroy.c",
"src/GSM610/gsm_encode.c",
"src/GSM610/gsm_option.c",
"src/GSM610/long_term.c",
"src/GSM610/lpc.c",
"src/GSM610/preprocess.c",
"src/GSM610/rpe.c",
"src/GSM610/short_term.c",
"src/GSM610/table.c",
"src/aiff.c",
"src/alac.c",
"src/alaw.c",
"src/au.c",
"src/audio_detect.c",
"src/avr.c",
"src/broadcast.c",
"src/caf.c",
"src/cart.c",
"src/chanmap.c",
"src/chunk.c",
"src/command.c",
"src/common.c",
"src/dither.c",
"src/double64.c",
"src/dwd.c",
"src/dwvw.c",
"src/file_io.c",
"src/flac.c",
"src/float32.c",
"src/g72x.c",
"src/gsm610.c",
"src/htk.c",
"src/id3.c",
"src/ima_adpcm.c",
"src/ima_oki_adpcm.c",
"src/interleave.c",
"src/ircam.c",
"src/macos.c",
"src/mat4.c",
"src/mat5.c",
"src/mpc2k.c",
"src/mpeg.c",
"src/ms_adpcm.c",
"src/nist.c",
"src/nms_adpcm.c",
"src/ogg.c",
"src/ogg_opus.c",
"src/ogg_pcm.c",
"src/ogg_speex.c",
"src/ogg_vcomment.c",
"src/ogg_vorbis.c",
"src/paf.c",
"src/pcm.c",
"src/pvf.c",
"src/raw.c",
"src/rf64.c",
"src/rx2.c",
"src/sd2.c",
"src/sds.c",
"src/sndfile.c",
"src/strings.c",
"src/svx.c",
"src/txw.c",
"src/ulaw.c",
"src/voc.c",
"src/vox_adpcm.c",
"src/w64.c",
"src/wav.c",
"src/wavlike.c",
"src/wve.c",
"src/xi.c",
]
configs = [ ":sndfile_config" ]
subsystem_name = "thirdparty"
part_name = "libsnd"
}
ohos_shared_library("sndfile") {
deps = [ ":sndfile_sources" ]
innerapi_tags = [ "platformsdk_indirect" ]
subsystem_name = "thirdparty"
part_name = "libsnd"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。