|
Mystro256 |
67d34b1 |
From 6c79a787bcbb8f315fb0e5ac3f63c888a8640694 Mon Sep 17 00:00:00 2001
|
|
Mystro256 |
24291d2 |
From: Mystro256 <alexjnewt@hotmail.com>
|
|
Mystro256 |
24291d2 |
Date: Sun, 5 Apr 2020 11:03:31 -0400
|
|
Mystro256 |
fe5abf9 |
Subject: [PATCH 3/5] soundtouch: Use shorts instead of floats for samples
|
|
Mystro256 |
24291d2 |
|
|
Mystro256 |
24291d2 |
This reapplies commit 8ff26a6 after the soundtouch 2.1.2 update.
|
|
Mystro256 |
24291d2 |
---
|
|
Mystro256 |
24291d2 |
Externals/soundtouch/STTypes.h | 6 +++---
|
|
Mystro256 |
24291d2 |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
Mystro256 |
24291d2 |
|
|
Mystro256 |
24291d2 |
diff --git a/Externals/soundtouch/STTypes.h b/Externals/soundtouch/STTypes.h
|
|
Mystro256 |
24291d2 |
index 862505e769..0f98c889fb 100644
|
|
Mystro256 |
24291d2 |
--- a/Externals/soundtouch/STTypes.h
|
|
Mystro256 |
24291d2 |
+++ b/Externals/soundtouch/STTypes.h
|
|
Mystro256 |
24291d2 |
@@ -94,8 +94,8 @@ namespace soundtouch
|
|
Mystro256 |
24291d2 |
/// However, if you still prefer to select the sample format here
|
|
Mystro256 |
24291d2 |
/// also in GNU environment, then please #undef the INTEGER_SAMPLE
|
|
Mystro256 |
24291d2 |
/// and FLOAT_SAMPLE defines first as in comments above.
|
|
Mystro256 |
24291d2 |
- //#define SOUNDTOUCH_INTEGER_SAMPLES 1 //< 16bit integer samples
|
|
Mystro256 |
24291d2 |
- #define SOUNDTOUCH_FLOAT_SAMPLES 1 //< 32bit float samples
|
|
Mystro256 |
24291d2 |
+ #define SOUNDTOUCH_INTEGER_SAMPLES 1 //< 16bit integer samples
|
|
Mystro256 |
24291d2 |
+ //#define SOUNDTOUCH_FLOAT_SAMPLES 1 //< 32bit float samples
|
|
Mystro256 |
24291d2 |
|
|
Mystro256 |
24291d2 |
#endif
|
|
Mystro256 |
24291d2 |
|
|
Mystro256 |
24291d2 |
@@ -106,7 +106,7 @@ namespace soundtouch
|
|
Mystro256 |
24291d2 |
/// routines compiled for whatever reason, you may disable these optimizations
|
|
Mystro256 |
24291d2 |
/// to make the library compile.
|
|
Mystro256 |
24291d2 |
|
|
Mystro256 |
24291d2 |
- #define SOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS 1
|
|
Mystro256 |
24291d2 |
+ //#define SOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS 1
|
|
Mystro256 |
24291d2 |
|
|
Mystro256 |
24291d2 |
/// In GNU environment, allow the user to override this setting by
|
|
Mystro256 |
24291d2 |
/// giving the following switch to the configure script:
|
|
Mystro256 |
24291d2 |
--
|
|
Mystro256 |
fe5abf9 |
2.26.2
|
|
Mystro256 |
24291d2 |
|