Avoid reserved preprocessor symbols

This commit is contained in:
Chris Cannam
2021-02-10 11:07:33 +00:00
parent 26dfe35908
commit 7c8fa72c60
27 changed files with 55 additions and 55 deletions

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_PITCH_SHIFTER_H_ #ifndef RUBBERBAND_PITCH_SHIFTER_H
#define _RUBBERBAND_PITCH_SHIFTER_H_ #define RUBBERBAND_PITCH_SHIFTER_H
#include <ladspa.h> #include <ladspa.h>

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBANDSTRETCHER_H_ #ifndef RUBBERBAND_STRETCHER_H
#define _RUBBERBANDSTRETCHER_H_ #define RUBBERBAND_STRETCHER_H
#define RUBBERBAND_VERSION "1.9.0" #define RUBBERBAND_VERSION "1.9.0"
#define RUBBERBAND_API_MAJOR_VERSION 2 #define RUBBERBAND_API_MAJOR_VERSION 2

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_C_API_H_ #ifndef RUBBERBAND_C_API_H
#define _RUBBERBAND_C_API_H_ #define RUBBERBAND_C_API_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_STRETCH_CALCULATOR_H_ #ifndef RUBBERBAND_STRETCH_CALCULATOR_H
#define _RUBBERBAND_STRETCH_CALCULATOR_H_ #define RUBBERBAND_STRETCH_CALCULATOR_H
#include <sys/types.h> #include <sys/types.h>

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_STRETCHERCHANNELDATA_H_ #ifndef RUBBERBAND_STRETCHERCHANNELDATA_H
#define _RUBBERBAND_STRETCHERCHANNELDATA_H_ #define RUBBERBAND_STRETCHERCHANNELDATA_H
#include "StretcherImpl.h" #include "StretcherImpl.h"

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_STRETCHERIMPL_H_ #ifndef RUBBERBAND_STRETCHERIMPL_H
#define _RUBBERBAND_STRETCHERIMPL_H_ #define RUBBERBAND_STRETCHERIMPL_H
#include "rubberband/RubberBandStretcher.h" #include "rubberband/RubberBandStretcher.h"

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _COMPOUND_AUDIO_CURVE_H_ #ifndef RUBBERBAND_COMPOUND_AUDIO_CURVE_H
#define _COMPOUND_AUDIO_CURVE_H_ #define RUBBERBAND_COMPOUND_AUDIO_CURVE_H
#include "dsp/AudioCurveCalculator.h" #include "dsp/AudioCurveCalculator.h"
#include "PercussiveAudioCurve.h" #include "PercussiveAudioCurve.h"

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _CONSTANT_AUDIO_CURVE_H_ #ifndef RUBBERBAND_CONSTANT_AUDIO_CURVE_H
#define _CONSTANT_AUDIO_CURVE_H_ #define RUBBERBAND_CONSTANT_AUDIO_CURVE_H
#include "dsp/AudioCurveCalculator.h" #include "dsp/AudioCurveCalculator.h"

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _HIGHFREQUENCY_AUDIO_CURVE_H_ #ifndef RUBBERBAND_HIGHFREQUENCY_AUDIO_CURVE_H
#define _HIGHFREQUENCY_AUDIO_CURVE_H_ #define RUBBERBAND_HIGHFREQUENCY_AUDIO_CURVE_H
#include "dsp/AudioCurveCalculator.h" #include "dsp/AudioCurveCalculator.h"

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _PERCUSSIVE_AUDIO_CURVE_H_ #ifndef RUBBERBAND_PERCUSSIVE_AUDIO_CURVE_H
#define _PERCUSSIVE_AUDIO_CURVE_H_ #define RUBBERBAND_PERCUSSIVE_AUDIO_CURVE_H
#include "dsp/AudioCurveCalculator.h" #include "dsp/AudioCurveCalculator.h"

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _SILENT_AUDIO_CURVE_H_ #ifndef RUBBERBAND_SILENT_AUDIO_CURVE_H
#define _SILENT_AUDIO_CURVE_H_ #define RUBBERBAND_SILENT_AUDIO_CURVE_H
#include "dsp/AudioCurveCalculator.h" #include "dsp/AudioCurveCalculator.h"

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _SPECTRALDIFFERENCE_AUDIO_CURVE_H_ #ifndef RUBBERBAND_SPECTRALDIFFERENCE_AUDIO_CURVE_H
#define _SPECTRALDIFFERENCE_AUDIO_CURVE_H_ #define RUBBERBAND_SPECTRALDIFFERENCE_AUDIO_CURVE_H
#include "dsp/AudioCurveCalculator.h" #include "dsp/AudioCurveCalculator.h"
#include "dsp/Window.h" #include "dsp/Window.h"

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _PROFILER_H_ #ifndef RUBBERBAND_PROFILER_H
#define _PROFILER_H_ #define RUBBERBAND_PROFILER_H
//#define NO_TIMING 1 //#define NO_TIMING 1
//#define WANT_TIMING 1 //#define WANT_TIMING 1

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_RINGBUFFER_H_ #ifndef RUBBERBAND_RINGBUFFER_H
#define _RUBBERBAND_RINGBUFFER_H_ #define RUBBERBAND_RINGBUFFER_H
#include <sys/types.h> #include <sys/types.h>
@@ -524,4 +524,4 @@ RingBuffer<T>::zero(int n)
} }
#endif // _RINGBUFFER_H_ #endif // _RINGBUFFER_H

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_SCAVENGER_H_ #ifndef RUBBERBAND_SCAVENGER_H
#define _RUBBERBAND_SCAVENGER_H_ #define RUBBERBAND_SCAVENGER_H
#include <vector> #include <vector>
#include <list> #include <list>

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _AUDIO_CURVE_CALCULATOR_H_ #ifndef RUBBERBAND_AUDIO_CURVE_CALCULATOR_H
#define _AUDIO_CURVE_CALCULATOR_H_ #define RUBBERBAND_AUDIO_CURVE_CALCULATOR_H
#include <sys/types.h> #include <sys/types.h>

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_FFT_H_ #ifndef RUBBERBAND_FFT_H
#define _RUBBERBAND_FFT_H_ #define RUBBERBAND_FFT_H
#include "system/sysutils.h" #include "system/sysutils.h"

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _MOVING_MEDIAN_H_ #ifndef RUBBERBAND_MOVING_MEDIAN_H
#define _MOVING_MEDIAN_H_ #define RUBBERBAND_MOVING_MEDIAN_H
#include "SampleFilter.h" #include "SampleFilter.h"

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _SAMPLE_FILTER_H_ #ifndef RUBBERBAND_SAMPLE_FILTER_H
#define _SAMPLE_FILTER_H_ #define RUBBERBAND_SAMPLE_FILTER_H
#include <cassert> #include <cassert>

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_SINC_WINDOW_H_ #ifndef RUBBERBAND_SINC_WINDOW_H
#define _RUBBERBAND_SINC_WINDOW_H_ #define RUBBERBAND_SINC_WINDOW_H
#include <cmath> #include <cmath>
#include <iostream> #include <iostream>

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_WINDOW_H_ #ifndef RUBBERBAND_WINDOW_H
#define _RUBBERBAND_WINDOW_H_ #define RUBBERBAND_WINDOW_H
#include <cmath> #include <cmath>
#include <cstdlib> #include <cstdlib>

View File

@@ -1,6 +1,6 @@
#ifndef _POMMIER_SSE_MATHFUN_H_ #ifndef POMMIER_SSE_MATHFUN_H
#define _POMMIER_SSE_MATHFUN_H_ #define POMMIER_SSE_MATHFUN_H
/* SIMD (SSE1+MMX or SSE2) implementation of sin, cos, exp and log /* SIMD (SSE1+MMX or SSE2) implementation of sin, cos, exp and log

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_THREAD_H_ #ifndef RUBBERBAND_THREAD_H
#define _RUBBERBAND_THREAD_H_ #define RUBBERBAND_THREAD_H
#include <string> #include <string>

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_VECTOR_OPS_H_ #ifndef RUBBERBAND_VECTOR_OPS_H
#define _RUBBERBAND_VECTOR_OPS_H_ #define RUBBERBAND_VECTOR_OPS_H
#ifdef HAVE_IPP #ifdef HAVE_IPP
#ifndef _MSC_VER #ifndef _MSC_VER

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_VECTOR_OPS_COMPLEX_H_ #ifndef RUBBERBAND_VECTOR_OPS_COMPLEX_H
#define _RUBBERBAND_VECTOR_OPS_COMPLEX_H_ #define RUBBERBAND_VECTOR_OPS_COMPLEX_H
#include "VectorOps.h" #include "VectorOps.h"

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_SYSUTILS_H_ #ifndef RUBBERBAND_SYSUTILS_H
#define _RUBBERBAND_SYSUTILS_H_ #define RUBBERBAND_SYSUTILS_H
#ifdef _MSC_VER #ifdef _MSC_VER
# if _MSC_VER < 1800 # if _MSC_VER < 1800

View File

@@ -21,8 +21,8 @@
you must obtain a valid commercial licence before doing so. you must obtain a valid commercial licence before doing so.
*/ */
#ifndef _RUBBERBAND_VAMP_PLUGIN_H_ #ifndef RUBBERBAND_VAMP_PLUGIN_H
#define _RUBBERBAND_VAMP_PLUGIN_H_ #define RUBBERBAND_VAMP_PLUGIN_H
#include <vamp-sdk/Plugin.h> #include <vamp-sdk/Plugin.h>