diff options
author | Underground78 <underground78@users.sourceforge.net> | 2011-08-11 01:56:33 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2011-08-11 01:56:33 +0400 |
commit | 24fc79bfb297d24b091e6950f9277edfe9e88c84 (patch) | |
tree | f9aa2d75218296ce904ffb68c36b2462a67fa1bf /src/thirdparty/SoundTouch/source/TDStretch.cpp | |
parent | 9c37b8ef1e0ee7e34b4640255c941c52d9387386 (diff) |
Update SoundTouch to v1.6.1pre r130 (vanilla except that MMX is disabled for x64 to fix compilation). Patch by XhmikosR.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3642 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/thirdparty/SoundTouch/source/TDStretch.cpp')
-rw-r--r-- | src/thirdparty/SoundTouch/source/TDStretch.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/thirdparty/SoundTouch/source/TDStretch.cpp b/src/thirdparty/SoundTouch/source/TDStretch.cpp index dd7a43eb5..3ef7798a8 100644 --- a/src/thirdparty/SoundTouch/source/TDStretch.cpp +++ b/src/thirdparty/SoundTouch/source/TDStretch.cpp @@ -728,7 +728,7 @@ void TDStretch::acceptNewOverlapLength(int newOverlapLength) // Operator 'new' is overloaded so that it automatically creates a suitable instance
// depending on if we've a MMX/SSE/etc-capable CPU available or not.
-void * TDStretch::operator new(size_t /*s*/)
+void * TDStretch::operator new(size_t s)
{
// Notice! don't use "new TDStretch" directly, use "newInstance" to create a new instance instead!
throw std::runtime_error("Error in TDStretch::new: Don't use 'new TDStretch' directly, use 'newInstance' member instead!");
@@ -738,7 +738,6 @@ void * TDStretch::operator new(size_t /*s*/) TDStretch * TDStretch::newInstance()
{
-#ifndef _WIN64 //mpc custom code
uint uExtensions;
uExtensions = detectCPUextensions();
@@ -764,8 +763,6 @@ TDStretch * TDStretch::newInstance() else
#endif // SOUNDTOUCH_ALLOW_SSE
-#endif // _WIN64 mpc custom code
-
{
// ISA optimizations not supported, use plain C version
return ::new TDStretch;
|