Merge from default branch

This commit is contained in:
Chris Cannam
2021-02-10 11:08:05 +00:00
28 changed files with 59 additions and 57 deletions

View File

@@ -24,8 +24,10 @@ CI builds:
## Licence
Rubber Band is distributed under the GNU General Public License. See
the file COPYING for more information.
Rubber Band Library is distributed under the GNU General Public
License (GPL). You can redistribute it and/or modify it under the
terms of the GPL; either version 2 of the License, or (at your option)
any later version. See the file COPYING for more information.
If you wish to distribute code using the Rubber Band Library under
terms other than those of the GNU General Public License, you must

View File

@@ -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>

View File

@@ -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

View File

@@ -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" {

View File

@@ -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>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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

View File

@@ -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

View File

@@ -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>

View File

@@ -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>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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

View File

@@ -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>

View File

@@ -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

View File

@@ -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"

View File

@@ -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

View File

@@ -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>