12 Star 0 Fork 18

src-openEuler/webrtc-audio-processing

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-add-sw_64-architecture.patch 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2023-10-18 16:08 . update to version 1.3
From 4eb65cf5194bd556baff817842d1f1860cec6cf9 Mon Sep 17 00:00:00 2001
From: li weigang <weigangli99@gmail.com>
Date: Wed, 18 Oct 2023 15:57:26 +0800
Subject: [PATCH] add sw_64 architecture
---
meson.build | 1 +
webrtc/rtc_base/system/arch.h | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/meson.build b/meson.build
index 3843e92..f92813a 100644
--- a/meson.build
+++ b/meson.build
@@ -112,6 +112,7 @@ have_arm = false
have_armv7 = false
have_neon = false
have_mips = false
+have_sw_64 = false
have_mips64 = false
have_x86 = false
have_avx2 = false
diff --git a/webrtc/rtc_base/system/arch.h b/webrtc/rtc_base/system/arch.h
index aee3756..4e27f12 100644
--- a/webrtc/rtc_base/system/arch.h
+++ b/webrtc/rtc_base/system/arch.h
@@ -23,6 +23,10 @@
#define WEBRTC_ARCH_X86_64
#define WEBRTC_ARCH_64_BITS
#define WEBRTC_ARCH_LITTLE_ENDIAN
+#elif defined(_M_SW_64) || defined(__sw_64__)
+#define WEBRTC_ARCH_SW_64_FAMILY
+#define WEBRTC_ARCH_64_BITS
+#define WEBRTC_ARCH_LITTLE_ENDIAN
#elif defined(_M_ARM64) || defined(__aarch64__)
#define WEBRTC_ARCH_ARM_FAMILY
#define WEBRTC_ARCH_64_BITS
--
2.20.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/webrtc-audio-processing.git
git@gitee.com:src-openeuler/webrtc-audio-processing.git
src-openeuler
webrtc-audio-processing
webrtc-audio-processing
master

搜索帮助