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/FIFOSampleBuffer.cpp')
-rw-r--r--src/thirdparty/SoundTouch/source/FIFOSampleBuffer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/thirdparty/SoundTouch/source/FIFOSampleBuffer.cpp b/src/thirdparty/SoundTouch/source/FIFOSampleBuffer.cpp
index 8393f7b0d..f9efee60e 100644
--- a/src/thirdparty/SoundTouch/source/FIFOSampleBuffer.cpp
+++ b/src/thirdparty/SoundTouch/source/FIFOSampleBuffer.cpp
@@ -47,7 +47,6 @@
#include <memory.h>
#include <string.h>
#include <assert.h>
-#include <stdexcept>
#include "FIFOSampleBuffer.h"
@@ -175,7 +174,7 @@ void FIFOSampleBuffer::ensureCapacity(uint capacityRequirement)
tempUnaligned = new SAMPLETYPE[sizeInBytes / sizeof(SAMPLETYPE) + 16 / sizeof(SAMPLETYPE)];
if (tempUnaligned == NULL)
{
- throw std::runtime_error("Couldn't allocate memory!\n");
+ ST_THROW_RT_ERROR("Couldn't allocate memory!\n");
}
// Align the buffer to begin at 16byte cache line boundary for optimal performance
temp = (SAMPLETYPE *)(((ulong)tempUnaligned + 15) & (ulong)-16);