加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
webrtc-audio-processing-1.0-sw.patch 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
diff -Naur webrtc-audio-processing-1.0.org/meson.build webrtc-audio-processing-1.0.sw/meson.build
--- webrtc-audio-processing-1.0.org/meson.build 2022-05-17 05:51:34.850000000 +0000
+++ webrtc-audio-processing-1.0.sw/meson.build 2022-05-17 05:58:14.940000000 +0000
@@ -80,6 +80,7 @@
have_armv7 = false
have_neon = false
have_mips = false
+have_sw_64 = false
have_mips64 = false
have_x86 = false
have_avx2 = false
diff -Naur webrtc-audio-processing-1.0.org/webrtc/rtc_base/system/arch.h webrtc-audio-processing-1.0.sw/webrtc/rtc_base/system/arch.h
--- webrtc-audio-processing-1.0.org/webrtc/rtc_base/system/arch.h 2022-05-17 05:51:34.840000000 +0000
+++ webrtc-audio-processing-1.0.sw/webrtc/rtc_base/system/arch.h 2022-05-17 05:54:18.720000000 +0000
@@ -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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化