soundtouch: Use shorts instead of floats for samples

This commit is contained in:
MerryMage 2017-04-10 14:59:57 +01:00
parent 6a4945090c
commit 8ff26a6eda

View file

@ -98,8 +98,8 @@ namespace soundtouch
/// However, if you still prefer to select the sample format here /// However, if you still prefer to select the sample format here
/// also in GNU environment, then please #undef the INTEGER_SAMPLE /// also in GNU environment, then please #undef the INTEGER_SAMPLE
/// and FLOAT_SAMPLE defines first as in comments above. /// and FLOAT_SAMPLE defines first as in comments above.
//#define SOUNDTOUCH_INTEGER_SAMPLES 1 //< 16bit integer samples #define SOUNDTOUCH_INTEGER_SAMPLES 1 //< 16bit integer samples
#define SOUNDTOUCH_FLOAT_SAMPLES 1 //< 32bit float samples //#define SOUNDTOUCH_FLOAT_SAMPLES 1 //< 32bit float samples
#endif #endif
@ -110,7 +110,7 @@ namespace soundtouch
/// routines compiled for whatever reason, you may disable these optimizations /// routines compiled for whatever reason, you may disable these optimizations
/// to make the library compile. /// to make the library compile.
#define SOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS 1 //#define SOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS 1
/// In GNU environment, allow the user to override this setting by /// In GNU environment, allow the user to override this setting by
/// giving the following switch to the configure script: /// giving the following switch to the configure script: