Avoid reserved preprocessor symbols
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_PITCH_SHIFTER_H_
|
||||
#define _RUBBERBAND_PITCH_SHIFTER_H_
|
||||
#ifndef RUBBERBAND_PITCH_SHIFTER_H
|
||||
#define RUBBERBAND_PITCH_SHIFTER_H
|
||||
|
||||
#include <ladspa.h>
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBANDSTRETCHER_H_
|
||||
#define _RUBBERBANDSTRETCHER_H_
|
||||
#ifndef RUBBERBAND_STRETCHER_H
|
||||
#define RUBBERBAND_STRETCHER_H
|
||||
|
||||
#define RUBBERBAND_VERSION "1.9.0"
|
||||
#define RUBBERBAND_API_MAJOR_VERSION 2
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_C_API_H_
|
||||
#define _RUBBERBAND_C_API_H_
|
||||
#ifndef RUBBERBAND_C_API_H
|
||||
#define RUBBERBAND_C_API_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_STRETCH_CALCULATOR_H_
|
||||
#define _RUBBERBAND_STRETCH_CALCULATOR_H_
|
||||
#ifndef RUBBERBAND_STRETCH_CALCULATOR_H
|
||||
#define RUBBERBAND_STRETCH_CALCULATOR_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_STRETCHERCHANNELDATA_H_
|
||||
#define _RUBBERBAND_STRETCHERCHANNELDATA_H_
|
||||
#ifndef RUBBERBAND_STRETCHERCHANNELDATA_H
|
||||
#define RUBBERBAND_STRETCHERCHANNELDATA_H
|
||||
|
||||
#include "StretcherImpl.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_STRETCHERIMPL_H_
|
||||
#define _RUBBERBAND_STRETCHERIMPL_H_
|
||||
#ifndef RUBBERBAND_STRETCHERIMPL_H
|
||||
#define RUBBERBAND_STRETCHERIMPL_H
|
||||
|
||||
#include "rubberband/RubberBandStretcher.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _COMPOUND_AUDIO_CURVE_H_
|
||||
#define _COMPOUND_AUDIO_CURVE_H_
|
||||
#ifndef RUBBERBAND_COMPOUND_AUDIO_CURVE_H
|
||||
#define RUBBERBAND_COMPOUND_AUDIO_CURVE_H
|
||||
|
||||
#include "dsp/AudioCurveCalculator.h"
|
||||
#include "PercussiveAudioCurve.h"
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _CONSTANT_AUDIO_CURVE_H_
|
||||
#define _CONSTANT_AUDIO_CURVE_H_
|
||||
#ifndef RUBBERBAND_CONSTANT_AUDIO_CURVE_H
|
||||
#define RUBBERBAND_CONSTANT_AUDIO_CURVE_H
|
||||
|
||||
#include "dsp/AudioCurveCalculator.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _HIGHFREQUENCY_AUDIO_CURVE_H_
|
||||
#define _HIGHFREQUENCY_AUDIO_CURVE_H_
|
||||
#ifndef RUBBERBAND_HIGHFREQUENCY_AUDIO_CURVE_H
|
||||
#define RUBBERBAND_HIGHFREQUENCY_AUDIO_CURVE_H
|
||||
|
||||
#include "dsp/AudioCurveCalculator.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _PERCUSSIVE_AUDIO_CURVE_H_
|
||||
#define _PERCUSSIVE_AUDIO_CURVE_H_
|
||||
#ifndef RUBBERBAND_PERCUSSIVE_AUDIO_CURVE_H
|
||||
#define RUBBERBAND_PERCUSSIVE_AUDIO_CURVE_H
|
||||
|
||||
#include "dsp/AudioCurveCalculator.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _SILENT_AUDIO_CURVE_H_
|
||||
#define _SILENT_AUDIO_CURVE_H_
|
||||
#ifndef RUBBERBAND_SILENT_AUDIO_CURVE_H
|
||||
#define RUBBERBAND_SILENT_AUDIO_CURVE_H
|
||||
|
||||
#include "dsp/AudioCurveCalculator.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _SPECTRALDIFFERENCE_AUDIO_CURVE_H_
|
||||
#define _SPECTRALDIFFERENCE_AUDIO_CURVE_H_
|
||||
#ifndef RUBBERBAND_SPECTRALDIFFERENCE_AUDIO_CURVE_H
|
||||
#define RUBBERBAND_SPECTRALDIFFERENCE_AUDIO_CURVE_H
|
||||
|
||||
#include "dsp/AudioCurveCalculator.h"
|
||||
#include "dsp/Window.h"
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _PROFILER_H_
|
||||
#define _PROFILER_H_
|
||||
#ifndef RUBBERBAND_PROFILER_H
|
||||
#define RUBBERBAND_PROFILER_H
|
||||
|
||||
//#define NO_TIMING 1
|
||||
//#define WANT_TIMING 1
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_RINGBUFFER_H_
|
||||
#define _RUBBERBAND_RINGBUFFER_H_
|
||||
#ifndef RUBBERBAND_RINGBUFFER_H
|
||||
#define RUBBERBAND_RINGBUFFER_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
@@ -524,4 +524,4 @@ RingBuffer<T>::zero(int n)
|
||||
|
||||
}
|
||||
|
||||
#endif // _RINGBUFFER_H_
|
||||
#endif // _RINGBUFFER_H
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_SCAVENGER_H_
|
||||
#define _RUBBERBAND_SCAVENGER_H_
|
||||
#ifndef RUBBERBAND_SCAVENGER_H
|
||||
#define RUBBERBAND_SCAVENGER_H
|
||||
|
||||
#include <vector>
|
||||
#include <list>
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _AUDIO_CURVE_CALCULATOR_H_
|
||||
#define _AUDIO_CURVE_CALCULATOR_H_
|
||||
#ifndef RUBBERBAND_AUDIO_CURVE_CALCULATOR_H
|
||||
#define RUBBERBAND_AUDIO_CURVE_CALCULATOR_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_FFT_H_
|
||||
#define _RUBBERBAND_FFT_H_
|
||||
#ifndef RUBBERBAND_FFT_H
|
||||
#define RUBBERBAND_FFT_H
|
||||
|
||||
#include "system/sysutils.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _MOVING_MEDIAN_H_
|
||||
#define _MOVING_MEDIAN_H_
|
||||
#ifndef RUBBERBAND_MOVING_MEDIAN_H
|
||||
#define RUBBERBAND_MOVING_MEDIAN_H
|
||||
|
||||
#include "SampleFilter.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _SAMPLE_FILTER_H_
|
||||
#define _SAMPLE_FILTER_H_
|
||||
#ifndef RUBBERBAND_SAMPLE_FILTER_H
|
||||
#define RUBBERBAND_SAMPLE_FILTER_H
|
||||
|
||||
#include <cassert>
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_SINC_WINDOW_H_
|
||||
#define _RUBBERBAND_SINC_WINDOW_H_
|
||||
#ifndef RUBBERBAND_SINC_WINDOW_H
|
||||
#define RUBBERBAND_SINC_WINDOW_H
|
||||
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_WINDOW_H_
|
||||
#define _RUBBERBAND_WINDOW_H_
|
||||
#ifndef RUBBERBAND_WINDOW_H
|
||||
#define RUBBERBAND_WINDOW_H
|
||||
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef _POMMIER_SSE_MATHFUN_H_
|
||||
#define _POMMIER_SSE_MATHFUN_H_
|
||||
#ifndef POMMIER_SSE_MATHFUN_H
|
||||
#define POMMIER_SSE_MATHFUN_H
|
||||
|
||||
/* SIMD (SSE1+MMX or SSE2) implementation of sin, cos, exp and log
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_THREAD_H_
|
||||
#define _RUBBERBAND_THREAD_H_
|
||||
#ifndef RUBBERBAND_THREAD_H
|
||||
#define RUBBERBAND_THREAD_H
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_VECTOR_OPS_H_
|
||||
#define _RUBBERBAND_VECTOR_OPS_H_
|
||||
#ifndef RUBBERBAND_VECTOR_OPS_H
|
||||
#define RUBBERBAND_VECTOR_OPS_H
|
||||
|
||||
#ifdef HAVE_IPP
|
||||
#ifndef _MSC_VER
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_VECTOR_OPS_COMPLEX_H_
|
||||
#define _RUBBERBAND_VECTOR_OPS_COMPLEX_H_
|
||||
#ifndef RUBBERBAND_VECTOR_OPS_COMPLEX_H
|
||||
#define RUBBERBAND_VECTOR_OPS_COMPLEX_H
|
||||
|
||||
#include "VectorOps.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_SYSUTILS_H_
|
||||
#define _RUBBERBAND_SYSUTILS_H_
|
||||
#ifndef RUBBERBAND_SYSUTILS_H
|
||||
#define RUBBERBAND_SYSUTILS_H
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# if _MSC_VER < 1800
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
|
||||
#ifndef _RUBBERBAND_VAMP_PLUGIN_H_
|
||||
#define _RUBBERBAND_VAMP_PLUGIN_H_
|
||||
#ifndef RUBBERBAND_VAMP_PLUGIN_H
|
||||
#define RUBBERBAND_VAMP_PLUGIN_H
|
||||
|
||||
#include <vamp-sdk/Plugin.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user