Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/thirdparty/SoundTouch/source/TDStretch.cpp')
-rw-r--r--src/thirdparty/SoundTouch/source/TDStretch.cpp5
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;