oparviai
d110158b4d
Fix cpuid.h detection in configure.ac
...
Only gcc in the x86 architectures contain cpuid.h. Therefore this would not
compile in other architectures.
.
To fix this:
1) Pass a warning instead of an error saying that the header file is missing.
2) Disable optimizations if cpuid.h was not found.
.
Behaviour:
1) In non-x86 architectures we have no cpuid.h. We give a warning which I hope
makes sense and is basically saying this is normal in non-x86 architectures and
and we will ALWAYS disable the optimizations.
2) In x86 architectures with cpuid.h we get the desired behaviour and check if
the user request optimizations and if they are supported by the cpu.
3) In x86 architectures w/o cpuid.h we give a warning basically telling the
user to upgrade gcc and we ALWAYS disable optimizations since we can only tell
there is sse/mmx support at build time but not at runtime.
4) In non-x86 architectures with some unexpected cpuid.h the sse/mmx checks
should fail and these optimizations will get disabled.
.
Tested in:
amd64, i386: x86 + cpuid.h
armel, armhf: non-x86 + no cpuid.h
armel, armhf: non-x86 + dummy cpuid.h to pass test
.
The last test should simulate the case of an x86 with no mmx/sse (old i386).
The 2nd test should be equal to x86 + no cpuid.h.
Author: Miguel Colon <debian.micove@gmail.com>
2012-04-04 15:37:39 +00:00
oparviai
67a202aee8
minor patches
2012-04-01 20:00:09 +00:00
oparviai
557bf9d6e4
Time stretch routine improvements:
...
- improved sound quality
- streamlined code
2012-04-01 19:49:30 +00:00
oparviai
1f6a68a6a3
CPUID routine bugfix: replaced inline assembly routine not working with all environment with __cpuid compiler intrinsic.
2012-04-01 17:01:42 +00:00
oparviai
f047ab0815
Untabify TDStretch.h
2012-04-01 16:57:32 +00:00
oparviai
86e50693b5
Added resource.h
2012-04-01 16:54:08 +00:00
oparviai
32b3084ef7
Added U for unsigned numeric constant
2011-12-31 09:54:02 +00:00
oparviai
d64e9ae0d3
Improved BPM detection routine to better spot harmonics for the strongest beat pattern.
2011-12-30 20:33:46 +00:00
oparviai
ad164d96db
Added a compile-time switch to disable throwing c++ exceptions
2011-09-02 18:56:11 +00:00
oparviai
a88461c737
Updated version id to 1.6.1pre
2011-07-17 11:46:22 +00:00
oparviai
9db805d439
Added configure flags to disable x86 optimizations
2011-07-17 11:17:57 +00:00
oparviai
1b73f0a77e
Removed linker -strip option from SoundStretch gcc compilation
2011-07-17 10:59:56 +00:00
oparviai
2ea719ad39
#define compatibility patches
2011-07-17 10:58:40 +00:00
oparviai
629a1bbc14
Repaired int-to-string conversion in exception message formatting
2011-07-17 10:40:27 +00:00
oparviai
6b2befd571
Fixed #ifdefs
2011-07-16 12:27:51 +00:00
oparviai
6a297adf2e
Cleaned comments
2011-07-16 12:27:28 +00:00
oparviai
3b35f34ab8
Update copyright year
2011-07-16 08:55:23 +00:00
oparviai
8f20fed87c
x64bit compilation support
2011-07-16 08:46:37 +00:00
oparviai
684e772e46
Fixed indent alignment
2011-07-16 08:45:37 +00:00
oparviai
ccbe5a50e2
Updated "Release" build setting in VC++ project files.
2011-07-16 08:25:15 +00:00
oparviai
f49cc1934a
Updated SoundTouch.dll version info
2011-07-16 08:11:56 +00:00
oparviai
814cd63bc2
Added _CRT_SECURE_NO_WARNINGS to SoundTouchDll project file to disable MS warnings about stdio functions
2011-07-16 08:10:46 +00:00
oparviai
663ed53f86
Replaced assert macros for supported bits-per-sample with runtime exceptions
2011-07-16 08:00:30 +00:00
oparviai
92dceef76f
Added _CRT_SECURE_NO_WARNINGS to SoundStretch project file to disable MS warnings about stdio functions
2011-07-16 07:59:28 +00:00
oparviai
319a1045c3
Updated createsrcpack script
2011-07-15 20:21:28 +00:00
oparviai
f2d9be1dfa
Updated tar command switch
2011-07-15 19:43:30 +00:00
oparviai
bea4b000ee
Updated createsrcpack script
2011-07-15 19:40:05 +00:00
oparviai
22cb20b6b1
Set version to 1.6.0
2011-07-15 19:27:10 +00:00
oparviai
3a6a787b10
Updated to version 1.6.0
2011-07-15 19:19:36 +00:00
oparviai
1043811c6b
Added support for writing bpm analysis debug file
2011-07-13 08:07:14 +00:00
oparviai
d002b52f2a
use more specifically named global #defines
2011-02-13 19:13:57 +00:00
oparviai
f3da7ef4ed
Added API to query for nominal input/output sample batch sizes
2011-01-16 13:33:19 +00:00
oparviai
d024492262
Added API to query for nominal input/output sample batch sizes
2011-01-16 13:00:33 +00:00
oparviai
33334d8dab
Minor redundant code cleanup
2011-01-16 12:59:19 +00:00
oparviai
91565bcb77
Removed #include "resource.h"
2010-12-12 19:34:10 +00:00
oparviai
293c0ef88f
Updated readme.html file
2010-12-12 19:22:50 +00:00
oparviai
a6cd39111e
Added SoundTouchDll build steps to make-win.bat script
2010-12-12 19:17:13 +00:00
oparviai
4403a657d4
updated SoundTouchDLL project file & version information
2010-12-12 19:13:39 +00:00
oparviai
8116c7bd42
Replaced proprietary strcpy_s with ansi-compatible strncpy
2010-12-12 19:12:12 +00:00
oparviai
4c223f5a79
Removed #include "resource.h"
2010-12-12 18:29:19 +00:00
oparviai
ff455bb5a6
Added soundtouch_getVersionString2()
2010-12-12 18:28:49 +00:00
oparviai
0ec963fddf
Added upgrade step to migrate project files for later Visual Studio versions.
2010-12-12 18:16:12 +00:00
oparviai
ab0d353f6f
Changed fileno() to _fileno() to eliminate compiler warning
2010-12-12 18:15:06 +00:00
oparviai
16f0a95a30
Relaxed peak detection low limit from 1e-6 to 1e-9 to improve detections
2010-08-24 15:53:56 +00:00
oparviai
cba79d510f
Updated cpuid logic for X86_64
2010-04-23 10:31:02 +00:00
oparviai
a0a7b369c4
Removed references to obsoleted 'soundtouch-1.4.pc.in' replacing these with 'soundtouch.pc.in'
2010-04-03 15:30:08 +00:00
oparviai
c045c24e80
Retired 3DNow! optimizations as obsolete
2010-01-24 12:40:30 +00:00
oparviai
d577aee775
Fixed version number in configure.ac
2010-01-24 12:19:07 +00:00
oparviai
ff06c88fd5
Added automatic cutoff threshold adaptation to beat detection routine to better adapt BPM calculation to different types of music
2010-01-06 18:59:23 +00:00
oparviai
3dbc7209bd
fixed typo
2009-12-28 21:41:58 +00:00