Skip to content

Commit 6b45400

Browse files
committed
android force use SOUNDTOUCH_INTEGER_SAMPLES
1 parent acf23f6 commit 6b45400

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 3238587c53c2910877c8954433f46e59f18e6d12 Mon Sep 17 00:00:00 2001
2+
From: qianlongxu <[email protected]>
3+
Date: Sat, 26 Apr 2025 15:03:15 +0800
4+
Subject: [PATCH] android force use SOUNDTOUCH_INTEGER_SAMPLES
5+
6+
---
7+
include/STTypes.h | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/include/STTypes.h b/include/STTypes.h
11+
index 03dea9e..78ac3e6 100644
12+
--- a/include/STTypes.h
13+
+++ b/include/STTypes.h
14+
@@ -71,7 +71,7 @@ namespace soundtouch
15+
/// runtime performance so recommendation is to keep this off.
16+
// #define USE_MULTICH_ALWAYS
17+
18+
- #if (defined(__SOFTFP__) && defined(ANDROID))
19+
+ #if (defined(ANDROID))
20+
// For Android compilation: Force use of Integer samples in case that
21+
// compilation uses soft-floating point emulation - soft-fp is way too slow
22+
#undef SOUNDTOUCH_FLOAT_SAMPLES
23+
--
24+
2.39.5 (Apple Git-154)
25+

0 commit comments

Comments
 (0)