There's no longer any good reason to do this; remove it
This commit is contained in:
@@ -166,43 +166,6 @@ void gettimeofday(struct timeval *tv, void *tz)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void system_specific_initialise()
|
|
||||||
{
|
|
||||||
#if defined HAVE_IPP
|
|
||||||
#ifndef USE_IPP_DYNAMIC_LIBS
|
|
||||||
#if (IPP_VERSION_MAJOR < 9)
|
|
||||||
// This was removed in v9
|
|
||||||
ippStaticInit();
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
ippSetDenormAreZeros(1);
|
|
||||||
#elif defined HAVE_VDSP
|
|
||||||
#if defined __i386__ || defined __x86_64__
|
|
||||||
fesetenv(FE_DFL_DISABLE_SSE_DENORMS_ENV);
|
|
||||||
#elif defined __arm64__
|
|
||||||
fesetenv(FE_DFL_DISABLE_DENORMS_ENV);
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#if defined __ARMEL__
|
|
||||||
// ARM32
|
|
||||||
static const unsigned int x = 0x04086060;
|
|
||||||
static const unsigned int y = 0x03000000;
|
|
||||||
int r;
|
|
||||||
asm volatile (
|
|
||||||
"fmrx %0, fpscr \n\t"
|
|
||||||
"and %0, %0, %1 \n\t"
|
|
||||||
"orr %0, %0, %2 \n\t"
|
|
||||||
"fmxr fpscr, %0 \n\t"
|
|
||||||
: "=r"(r)
|
|
||||||
: "r"(x), "r"(y)
|
|
||||||
);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void system_specific_application_initialise()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
void system_memorybarrier()
|
void system_memorybarrier()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -96,8 +96,6 @@ typedef double process_t;
|
|||||||
|
|
||||||
extern const char *system_get_platform_tag();
|
extern const char *system_get_platform_tag();
|
||||||
extern bool system_is_multiprocessor();
|
extern bool system_is_multiprocessor();
|
||||||
extern void system_specific_initialise();
|
|
||||||
extern void system_specific_application_initialise();
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
struct timeval { long tv_sec; long tv_usec; };
|
struct timeval { long tv_sec; long tv_usec; };
|
||||||
|
|||||||
@@ -54,8 +54,6 @@ R2Stretcher::m_defaultIncrement = 256;
|
|||||||
const size_t
|
const size_t
|
||||||
R2Stretcher::m_defaultFftSize = 2048;
|
R2Stretcher::m_defaultFftSize = 2048;
|
||||||
|
|
||||||
static bool _initialised = false;
|
|
||||||
|
|
||||||
R2Stretcher::R2Stretcher(size_t sampleRate,
|
R2Stretcher::R2Stretcher(size_t sampleRate,
|
||||||
size_t channels,
|
size_t channels,
|
||||||
RubberBandStretcher::Options options,
|
RubberBandStretcher::Options options,
|
||||||
@@ -102,11 +100,6 @@ R2Stretcher::R2Stretcher(size_t sampleRate,
|
|||||||
m_baseFftSize(m_defaultFftSize)
|
m_baseFftSize(m_defaultFftSize)
|
||||||
{
|
{
|
||||||
Profiler profiler("R2Stretcher::R2Stretcher");
|
Profiler profiler("R2Stretcher::R2Stretcher");
|
||||||
|
|
||||||
if (!_initialised) {
|
|
||||||
system_specific_initialise();
|
|
||||||
_initialised = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
m_log.log(1, "R2Stretcher::R2Stretcher: rate, options",
|
m_log.log(1, "R2Stretcher::R2Stretcher: rate, options",
|
||||||
m_sampleRate, options);
|
m_sampleRate, options);
|
||||||
|
|||||||
Reference in New Issue
Block a user