From 6f42c16b317d2a7363ccddb2783b75c6720042f5 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 22 Apr 2016 21:15:29 +0200 Subject: [PATCH] src/: change c header identifiers (see #35) --- python/ext/py-musicutils.h | 6 +++--- src/aubio_priv.h | 6 +++--- src/cvec.h | 6 +++--- src/fmat.h | 6 +++--- src/fvec.h | 6 +++--- src/io/audio_unit.h | 6 +++--- src/io/sink.h | 6 +++--- src/io/sink_apple_audio.h | 6 +++--- src/io/sink_sndfile.h | 6 +++--- src/io/sink_wavwrite.h | 6 +++--- src/io/source.h | 6 +++--- src/io/source_apple_audio.h | 6 +++--- src/io/source_avcodec.h | 6 +++--- src/io/source_sndfile.h | 6 +++--- src/io/source_wavread.h | 6 +++--- src/lvec.h | 6 +++--- src/mathutils.h | 6 +++--- src/musicutils.h | 6 +++--- src/onset/onset.h | 6 +++--- src/onset/peakpicker.h | 6 +++--- src/pitch/pitch.h | 6 +++--- src/pitch/pitchfcomb.h | 6 +++--- src/pitch/pitchmcomb.h | 6 +++--- src/pitch/pitchschmitt.h | 7 +++---- src/pitch/pitchspecacf.h | 6 +++--- src/pitch/pitchyin.h | 6 +++--- src/pitch/pitchyinfft.h | 6 +++--- src/spectral/fft.h | 6 +++--- src/spectral/filterbank.h | 6 +++--- src/spectral/filterbank_mel.h | 6 +++--- src/spectral/mfcc.h | 6 +++--- src/spectral/phasevoc.h | 6 +++--- src/spectral/specdesc.h | 6 +++--- src/spectral/tss.h | 6 +++--- src/synth/sampler.h | 6 +++--- src/synth/wavetable.h | 6 +++--- src/tempo/beattracking.h | 6 +++--- src/tempo/tempo.h | 6 +++--- src/temporal/a_weighting.h | 6 +++--- src/temporal/biquad.h | 6 +++--- src/temporal/c_weighting.h | 6 +++--- src/temporal/filter.h | 6 +++--- src/temporal/resampler.h | 6 +++--- src/types.h | 6 +++--- src/utils/hist.h | 6 +++--- src/utils/parameter.h | 6 +++--- src/utils/scale.h | 6 +++--- src/vecutils.h | 6 +++--- 48 files changed, 144 insertions(+), 145 deletions(-) diff --git a/python/ext/py-musicutils.h b/python/ext/py-musicutils.h index f6d509f4..54ee2305 100644 --- a/python/ext/py-musicutils.h +++ b/python/ext/py-musicutils.h @@ -1,5 +1,5 @@ -#ifndef _PY_AUBIO_MUSICUTILS_H_ -#define _PY_AUBIO_MUSICUTILS_H_ +#ifndef PY_AUBIO_MUSICUTILS_H +#define PY_AUBIO_MUSICUTILS_H static char Py_aubio_window_doc[] = "" "window(string, integer) -> fvec\n" @@ -71,4 +71,4 @@ static char Py_aubio_level_detection_doc[] = "" PyObject * Py_aubio_level_detection(PyObject *self, PyObject *args); -#endif /* _PY_AUBIO_MUSICUTILS_H_ */ +#endif /* PY_AUBIO_MUSICUTILS_H */ diff --git a/src/aubio_priv.h b/src/aubio_priv.h index b25c934f..396a711a 100644 --- a/src/aubio_priv.h +++ b/src/aubio_priv.h @@ -24,8 +24,8 @@ * This file is for inclusion from _within_ the library only. */ -#ifndef _AUBIO__PRIV_H -#define _AUBIO__PRIV_H +#ifndef AUBIO_PRIV_H +#define AUBIO_PRIV_H /********************* * @@ -285,4 +285,4 @@ typedef enum { #define UNUSED #endif -#endif /* _AUBIO__PRIV_H */ +#endif /* AUBIO_PRIV_H */ diff --git a/src/cvec.h b/src/cvec.h index e13ca63c..d0a9c2ba 100644 --- a/src/cvec.h +++ b/src/cvec.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO__CVEC_H -#define _AUBIO__CVEC_H +#ifndef AUBIO_CVEC_H +#define AUBIO_CVEC_H #ifdef __cplusplus extern "C" { @@ -234,4 +234,4 @@ void cvec_zeros(cvec_t *s); } #endif -#endif /* _AUBIO__CVEC_H */ +#endif /* AUBIO_CVEC_H */ diff --git a/src/fmat.h b/src/fmat.h index 05d0975f..955a8d59 100644 --- a/src/fmat.h +++ b/src/fmat.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO__FMAT_H -#define _AUBIO__FMAT_H +#ifndef AUBIO_FMAT_H +#define AUBIO_FMAT_H #ifdef __cplusplus extern "C" { @@ -169,4 +169,4 @@ void fmat_vecmul(const fmat_t *s, const fvec_t *scale, fvec_t *output); } #endif -#endif /* _AUBIO__FMAT_H */ +#endif /* AUBIO_FMAT_H */ diff --git a/src/fvec.h b/src/fvec.h index ee732a4f..bd8c5a60 100644 --- a/src/fvec.h +++ b/src/fvec.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO__FVEC_H -#define _AUBIO__FVEC_H +#ifndef AUBIO_FVEC_H +#define AUBIO_FVEC_H #ifdef __cplusplus extern "C" { @@ -175,4 +175,4 @@ void fvec_weighted_copy(const fvec_t *in, const fvec_t *weight, fvec_t *out); } #endif -#endif /* _AUBIO__FVEC_H */ +#endif /* AUBIO_FVEC_H */ diff --git a/src/io/audio_unit.h b/src/io/audio_unit.h index c518bc64..46f86b1e 100644 --- a/src/io/audio_unit.h +++ b/src/io/audio_unit.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_AUDIO_UNIT_H -#define _AUBIO_AUDIO_UNIT_H +#ifndef AUBIO_AUDIO_UNIT_H +#define AUBIO_AUDIO_UNIT_H /** \file @@ -58,4 +58,4 @@ uint_t del_aubio_audio_unit(aubio_audio_unit_t *o); } #endif -#endif /* _AUBIO_AUDIO_UNIT_H */ +#endif /* AUBIO_AUDIO_UNIT_H */ diff --git a/src/io/sink.h b/src/io/sink.h index c196ef69..ee0f5cf8 100644 --- a/src/io/sink.h +++ b/src/io/sink.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_SINK_H -#define _AUBIO_SINK_H +#ifndef AUBIO_SINK_H +#define AUBIO_SINK_H /** \file @@ -178,4 +178,4 @@ void del_aubio_sink(aubio_sink_t * s); } #endif -#endif /* _AUBIO_SINK_H */ +#endif /* AUBIO_SINK_H */ diff --git a/src/io/sink_apple_audio.h b/src/io/sink_apple_audio.h index bd64b2c2..14d6a8aa 100644 --- a/src/io/sink_apple_audio.h +++ b/src/io/sink_apple_audio.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_SINK_APPLE_AUDIO_H -#define _AUBIO_SINK_APPLE_AUDIO_H +#ifndef AUBIO_SINK_APPLE_AUDIO_H +#define AUBIO_SINK_APPLE_AUDIO_H /** \file @@ -160,4 +160,4 @@ void del_aubio_sink_apple_audio(aubio_sink_apple_audio_t * s); } #endif -#endif /* _AUBIO_SINK_APPLE_AUDIO_H */ +#endif /* AUBIO_SINK_APPLE_AUDIO_H */ diff --git a/src/io/sink_sndfile.h b/src/io/sink_sndfile.h index 977ff1d8..083c4ca2 100644 --- a/src/io/sink_sndfile.h +++ b/src/io/sink_sndfile.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_SINK_SNDFILE_H -#define _AUBIO_SINK_SNDFILE_H +#ifndef AUBIO_SINK_SNDFILE_H +#define AUBIO_SINK_SNDFILE_H /** \file @@ -159,4 +159,4 @@ void del_aubio_sink_sndfile(aubio_sink_sndfile_t * s); } #endif -#endif /* _AUBIO_SINK_SNDFILE_H */ +#endif /* AUBIO_SINK_SNDFILE_H */ diff --git a/src/io/sink_wavwrite.h b/src/io/sink_wavwrite.h index a84d03fd..bb479e43 100644 --- a/src/io/sink_wavwrite.h +++ b/src/io/sink_wavwrite.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_SINK_WAVWRITE_H -#define _AUBIO_SINK_WAVWRITE_H +#ifndef AUBIO_SINK_WAVWRITE_H +#define AUBIO_SINK_WAVWRITE_H /** \file @@ -159,4 +159,4 @@ void del_aubio_sink_wavwrite(aubio_sink_wavwrite_t * s); } #endif -#endif /* _AUBIO_SINK_WAVWRITE_H */ +#endif /* AUBIO_SINK_WAVWRITE_H */ diff --git a/src/io/source.h b/src/io/source.h index 18722b62..8d49b017 100644 --- a/src/io/source.h +++ b/src/io/source.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_SOURCE_H -#define _AUBIO_SOURCE_H +#ifndef AUBIO_SOURCE_H +#define AUBIO_SOURCE_H /** \file @@ -171,4 +171,4 @@ void del_aubio_source(aubio_source_t * s); } #endif -#endif /* _AUBIO_SOURCE_H */ +#endif /* AUBIO_SOURCE_H */ diff --git a/src/io/source_apple_audio.h b/src/io/source_apple_audio.h index 24cc46ca..bfd315c3 100644 --- a/src/io/source_apple_audio.h +++ b/src/io/source_apple_audio.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_SOURCE_APPLE_AUDIO_H -#define _AUBIO_SOURCE_APPLE_AUDIO_H +#ifndef AUBIO_SOURCE_APPLE_AUDIO_H +#define AUBIO_SOURCE_APPLE_AUDIO_H /** \file @@ -143,4 +143,4 @@ void del_aubio_source_apple_audio(aubio_source_apple_audio_t * s); } #endif -#endif /* _AUBIO_SOURCE_APPLE_AUDIO_H */ +#endif /* AUBIO_SOURCE_APPLE_AUDIO_H */ diff --git a/src/io/source_avcodec.h b/src/io/source_avcodec.h index 79255915..71c98f67 100644 --- a/src/io/source_avcodec.h +++ b/src/io/source_avcodec.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_SOURCE_AVCODEC_H -#define _AUBIO_SOURCE_AVCODEC_H +#ifndef AUBIO_SOURCE_AVCODEC_H +#define AUBIO_SOURCE_AVCODEC_H /** \file @@ -142,4 +142,4 @@ void del_aubio_source_avcodec(aubio_source_avcodec_t * s); } #endif -#endif /* _AUBIO_SOURCE_AVCODEC_H */ +#endif /* AUBIO_SOURCE_AVCODEC_H */ diff --git a/src/io/source_sndfile.h b/src/io/source_sndfile.h index 1ca8fbc5..e382c3b2 100644 --- a/src/io/source_sndfile.h +++ b/src/io/source_sndfile.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_SOURCE_SNDFILE_H -#define _AUBIO_SOURCE_SNDFILE_H +#ifndef AUBIO_SOURCE_SNDFILE_H +#define AUBIO_SOURCE_SNDFILE_H /** \file @@ -142,4 +142,4 @@ void del_aubio_source_sndfile(aubio_source_sndfile_t * s); } #endif -#endif /* _AUBIO_SOURCE_SNDFILE_H */ +#endif /* AUBIO_SOURCE_SNDFILE_H */ diff --git a/src/io/source_wavread.h b/src/io/source_wavread.h index 3eee3da0..a0ec1414 100644 --- a/src/io/source_wavread.h +++ b/src/io/source_wavread.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_SOURCE_WAVREAD_H -#define _AUBIO_SOURCE_WAVREAD_H +#ifndef AUBIO_SOURCE_WAVREAD_H +#define AUBIO_SOURCE_WAVREAD_H /** \file @@ -147,4 +147,4 @@ void del_aubio_source_wavread(aubio_source_wavread_t * s); } #endif -#endif /* _AUBIO_SOURCE_WAVREAD_H */ +#endif /* AUBIO_SOURCE_WAVREAD_H */ diff --git a/src/lvec.h b/src/lvec.h index bdcf4979..402ba0ff 100644 --- a/src/lvec.h +++ b/src/lvec.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO__LVEC_H -#define _AUBIO__LVEC_H +#ifndef AUBIO_LVEC_H +#define AUBIO_LVEC_H #ifdef __cplusplus extern "C" { @@ -115,4 +115,4 @@ void lvec_ones(lvec_t *s); } #endif -#endif /* _AUBIO__LVEC_H */ +#endif /* AUBIO_LVEC_H */ diff --git a/src/mathutils.h b/src/mathutils.h index 7ed5ed12..6638f692 100644 --- a/src/mathutils.h +++ b/src/mathutils.h @@ -27,8 +27,8 @@ */ -#ifndef _AUBIO_MATHUTILS_H -#define _AUBIO_MATHUTILS_H +#ifndef AUBIO_MATHUTILS_H +#define AUBIO_MATHUTILS_H #include "fvec.h" #include "musicutils.h" @@ -313,4 +313,4 @@ void aubio_autocorr (const fvec_t * input, fvec_t * output); } #endif -#endif /* _AUBIO_MATHUTILS_H */ +#endif /* AUBIO_MATHUTILS_H */ diff --git a/src/musicutils.h b/src/musicutils.h index 0e317fb5..29d0efa8 100644 --- a/src/musicutils.h +++ b/src/musicutils.h @@ -22,8 +22,8 @@ * various functions useful in audio signal processing */ -#ifndef _AUBIO__MUSICUTILS_H -#define _AUBIO__MUSICUTILS_H +#ifndef AUBIO_MUSICUTILS_H +#define AUBIO_MUSICUTILS_H #ifdef __cplusplus extern "C" { @@ -160,4 +160,4 @@ smpl_t aubio_level_detection (fvec_t * v, smpl_t threshold); } #endif -#endif /* _AUBIO__MUSICUTILS_H */ +#endif /* AUBIO_MUSICUTILS_H */ diff --git a/src/onset/onset.h b/src/onset/onset.h index 6dae36f7..e7886037 100644 --- a/src/onset/onset.h +++ b/src/onset/onset.h @@ -39,8 +39,8 @@ */ -#ifndef _AUBIO_ONSET_H -#define _AUBIO_ONSET_H +#ifndef AUBIO_ONSET_H +#define AUBIO_ONSET_H #ifdef __cplusplus extern "C" { @@ -285,4 +285,4 @@ void del_aubio_onset(aubio_onset_t * o); } #endif -#endif /* _AUBIO_ONSET_H */ +#endif /* AUBIO_ONSET_H */ diff --git a/src/onset/peakpicker.h b/src/onset/peakpicker.h index c137cc86..dafaf915 100644 --- a/src/onset/peakpicker.h +++ b/src/onset/peakpicker.h @@ -26,8 +26,8 @@ */ -#ifndef _AUBIO_PEAKPICK_H -#define _AUBIO_PEAKPICK_H +#ifndef AUBIO_PEAKPICK_H +#define AUBIO_PEAKPICK_H #ifdef __cplusplus extern "C" { @@ -54,4 +54,4 @@ smpl_t aubio_peakpicker_get_threshold(aubio_peakpicker_t * p); } #endif -#endif /* _AUBIO_PEAKPICK_H */ +#endif /* AUBIO_PEAKPICK_H */ diff --git a/src/pitch/pitch.h b/src/pitch/pitch.h index 18fc13c6..e0ae5452 100644 --- a/src/pitch/pitch.h +++ b/src/pitch/pitch.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_PITCH_H -#define _AUBIO_PITCH_H +#ifndef AUBIO_PITCH_H +#define AUBIO_PITCH_H #ifdef __cplusplus extern "C" { @@ -179,4 +179,4 @@ smpl_t aubio_pitch_get_confidence (aubio_pitch_t * o); } #endif -#endif /* _AUBIO_PITCH_H */ +#endif /* AUBIO_PITCH_H */ diff --git a/src/pitch/pitchfcomb.h b/src/pitch/pitchfcomb.h index f8727449..50167088 100644 --- a/src/pitch/pitchfcomb.h +++ b/src/pitch/pitchfcomb.h @@ -34,8 +34,8 @@ */ -#ifndef _AUBIO_PITCHFCOMB_H -#define _AUBIO_PITCHFCOMB_H +#ifndef AUBIO_PITCHFCOMB_H +#define AUBIO_PITCHFCOMB_H #ifdef __cplusplus extern "C" { @@ -73,4 +73,4 @@ void del_aubio_pitchfcomb (aubio_pitchfcomb_t * p); } #endif -#endif /* _AUBIO_PITCHFCOMB_H */ +#endif /* AUBIO_PITCHFCOMB_H */ diff --git a/src/pitch/pitchmcomb.h b/src/pitch/pitchmcomb.h index b9fbcbd4..88f117f2 100644 --- a/src/pitch/pitchmcomb.h +++ b/src/pitch/pitchmcomb.h @@ -35,8 +35,8 @@ */ -#ifndef _AUBIO_PITCHMCOMB_H -#define _AUBIO_PITCHMCOMB_H +#ifndef AUBIO_PITCHMCOMB_H +#define AUBIO_PITCHMCOMB_H #ifdef __cplusplus extern "C" { @@ -74,4 +74,4 @@ void del_aubio_pitchmcomb (aubio_pitchmcomb_t * p); } #endif -#endif /* _AUBIO_PITCHMCOMB_H */ +#endif /* AUBIO_PITCHMCOMB_H */ diff --git a/src/pitch/pitchschmitt.h b/src/pitch/pitchschmitt.h index f7e7760b..db952c34 100644 --- a/src/pitch/pitchschmitt.h +++ b/src/pitch/pitchschmitt.h @@ -34,8 +34,8 @@ */ -#ifndef _AUBIO_PITCHSCHMITT_H -#define _AUBIO_PITCHSCHMITT_H +#ifndef AUBIO_PITCHSCHMITT_H +#define AUBIO_PITCHSCHMITT_H #ifdef __cplusplus extern "C" { @@ -72,5 +72,4 @@ void del_aubio_pitchschmitt (aubio_pitchschmitt_t * p); } #endif -#endif /* _AUBIO_PITCHSCHMITT_H */ - +#endif /* AUBIO_PITCHSCHMITT_H */ diff --git a/src/pitch/pitchspecacf.h b/src/pitch/pitchspecacf.h index 3c539745..e3c9c4c1 100644 --- a/src/pitch/pitchspecacf.h +++ b/src/pitch/pitchspecacf.h @@ -38,8 +38,8 @@ */ -#ifndef _AUBIO_PITCHSPECACF_H -#define _AUBIO_PITCHSPECACF_H +#ifndef AUBIO_PITCHSPECACF_H +#define AUBIO_PITCHSPECACF_H #ifdef __cplusplus extern "C" { @@ -100,4 +100,4 @@ smpl_t aubio_pitchspecacf_get_confidence (const aubio_pitchspecacf_t * o); } #endif -#endif /* _AUBIO_PITCHSPECACF_H */ +#endif /* AUBIO_PITCHSPECACF_H */ diff --git a/src/pitch/pitchyin.h b/src/pitch/pitchyin.h index acb9afe5..fa32b8da 100644 --- a/src/pitch/pitchyin.h +++ b/src/pitch/pitchyin.h @@ -35,8 +35,8 @@ */ -#ifndef _AUBIO_PITCHYIN_H -#define _AUBIO_PITCHYIN_H +#ifndef AUBIO_PITCHYIN_H +#define AUBIO_PITCHYIN_H #ifdef __cplusplus extern "C" { @@ -97,4 +97,4 @@ smpl_t aubio_pitchyin_get_confidence (aubio_pitchyin_t * o); } #endif -#endif /* _AUBIO_PITCHYIN_H */ +#endif /* AUBIO_PITCHYIN_H */ diff --git a/src/pitch/pitchyinfft.h b/src/pitch/pitchyinfft.h index a23927cd..ccd4e518 100644 --- a/src/pitch/pitchyinfft.h +++ b/src/pitch/pitchyinfft.h @@ -35,8 +35,8 @@ */ -#ifndef _AUBIO_PITCHYINFFT_H -#define _AUBIO_PITCHYINFFT_H +#ifndef AUBIO_PITCHYINFFT_H +#define AUBIO_PITCHYINFFT_H #ifdef __cplusplus extern "C" { @@ -96,4 +96,4 @@ smpl_t aubio_pitchyinfft_get_confidence (aubio_pitchyinfft_t * o); } #endif -#endif /* _AUBIO_PITCHYINFFT_H */ +#endif /* AUBIO_PITCHYINFFT_H */ diff --git a/src/spectral/fft.h b/src/spectral/fft.h index e55e475c..9c8a99c8 100644 --- a/src/spectral/fft.h +++ b/src/spectral/fft.h @@ -31,8 +31,8 @@ */ -#ifndef _AUBIO_FFT_H -#define _AUBIO_FFT_H +#ifndef AUBIO_FFT_H +#define AUBIO_FFT_H #ifdef __cplusplus extern "C" { @@ -141,4 +141,4 @@ void aubio_fft_get_real(const cvec_t * spectrum, fvec_t * compspec); } #endif -#endif /* _AUBIO_FFT_H */ +#endif /* AUBIO_FFT_H */ diff --git a/src/spectral/filterbank.h b/src/spectral/filterbank.h index 8bc16525..769b5e7a 100644 --- a/src/spectral/filterbank.h +++ b/src/spectral/filterbank.h @@ -29,8 +29,8 @@ */ -#ifndef _AUBIO_FILTERBANK_H -#define _AUBIO_FILTERBANK_H +#ifndef AUBIO_FILTERBANK_H +#define AUBIO_FILTERBANK_H #ifdef __cplusplus extern "C" @@ -87,4 +87,4 @@ uint_t aubio_filterbank_set_coeffs (aubio_filterbank_t * f, const fmat_t * filte } #endif -#endif /* _AUBIO_FILTERBANK_H */ +#endif /* AUBIO_FILTERBANK_H */ diff --git a/src/spectral/filterbank_mel.h b/src/spectral/filterbank_mel.h index a3e806b2..77f0be05 100644 --- a/src/spectral/filterbank_mel.h +++ b/src/spectral/filterbank_mel.h @@ -31,8 +31,8 @@ */ -#ifndef _AUBIO_FILTERBANK_MEL_H -#define _AUBIO_FILTERBANK_MEL_H +#ifndef AUBIO_FILTERBANK_MEL_H +#define AUBIO_FILTERBANK_MEL_H #ifdef __cplusplus extern "C" @@ -69,4 +69,4 @@ uint_t aubio_filterbank_set_mel_coeffs_slaney (aubio_filterbank_t * fb, } #endif -#endif /* _AUBIO_FILTERBANK_MEL_H */ +#endif /* AUBIO_FILTERBANK_MEL_H */ diff --git a/src/spectral/mfcc.h b/src/spectral/mfcc.h index 4adcd22c..a170e125 100644 --- a/src/spectral/mfcc.h +++ b/src/spectral/mfcc.h @@ -34,8 +34,8 @@ */ -#ifndef _AUBIO_MFCC_H -#define _AUBIO_MFCC_H +#ifndef AUBIO_MFCC_H +#define AUBIO_MFCC_H #ifdef __cplusplus extern "C" @@ -76,4 +76,4 @@ void aubio_mfcc_do (aubio_mfcc_t * mf, const cvec_t * in, fvec_t * out); } #endif -#endif /* _AUBIO_MFCC_H */ +#endif /* AUBIO_MFCC_H */ diff --git a/src/spectral/phasevoc.h b/src/spectral/phasevoc.h index b9ff4534..d1e440db 100644 --- a/src/spectral/phasevoc.h +++ b/src/spectral/phasevoc.h @@ -31,8 +31,8 @@ */ -#ifndef _AUBIO_PHASEVOC_H -#define _AUBIO_PHASEVOC_H +#ifndef AUBIO_PHASEVOC_H +#define AUBIO_PHASEVOC_H #ifdef __cplusplus extern "C" { @@ -99,4 +99,4 @@ uint_t aubio_pvoc_get_hop(aubio_pvoc_t* pv); } #endif -#endif /* _AUBIO_PHASEVOC_H */ +#endif /* AUBIO_PHASEVOC_H */ diff --git a/src/spectral/specdesc.h b/src/spectral/specdesc.h index 97c9beef..2cdb87ac 100644 --- a/src/spectral/specdesc.h +++ b/src/spectral/specdesc.h @@ -145,8 +145,8 @@ */ -#ifndef _AUBIO_SPECDESC_H -#define _AUBIO_SPECDESC_H +#ifndef AUBIO_SPECDESC_H +#define AUBIO_SPECDESC_H #ifdef __cplusplus extern "C" { @@ -191,4 +191,4 @@ void del_aubio_specdesc (aubio_specdesc_t * o); } #endif -#endif /* _AUBIO_SPECDESC_H */ +#endif /* AUBIO_SPECDESC_H */ diff --git a/src/spectral/tss.h b/src/spectral/tss.h index 141eba1d..a4f54a15 100644 --- a/src/spectral/tss.h +++ b/src/spectral/tss.h @@ -36,8 +36,8 @@ */ -#ifndef _AUBIO_TSS_H -#define _AUBIO_TSS_H +#ifndef AUBIO_TSS_H +#define AUBIO_TSS_H #ifdef __cplusplus extern "C" { @@ -100,4 +100,4 @@ uint_t aubio_tss_set_beta (aubio_tss_t * o, smpl_t beta); } #endif -#endif /* _AUBIO_TSS_H */ +#endif /* AUBIO_TSS_H */ diff --git a/src/synth/sampler.h b/src/synth/sampler.h index 39e974f7..fb1304f3 100644 --- a/src/synth/sampler.h +++ b/src/synth/sampler.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_SAMPLER_H -#define _AUBIO_SAMPLER_H +#ifndef AUBIO_SAMPLER_H +#define AUBIO_SAMPLER_H /** \file @@ -137,4 +137,4 @@ void del_aubio_sampler( aubio_sampler_t * o ); } #endif -#endif /* _AUBIO_SAMPLER_H */ +#endif /* AUBIO_SAMPLER_H */ diff --git a/src/synth/wavetable.h b/src/synth/wavetable.h index 0798940a..b3335754 100644 --- a/src/synth/wavetable.h +++ b/src/synth/wavetable.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_WAVETABLE_H -#define _AUBIO_WAVETABLE_H +#ifndef AUBIO_WAVETABLE_H +#define AUBIO_WAVETABLE_H /** \file @@ -175,4 +175,4 @@ void del_aubio_wavetable( aubio_wavetable_t * o ); } #endif -#endif /* _AUBIO_WAVETABLE_H */ +#endif /* AUBIO_WAVETABLE_H */ diff --git a/src/tempo/beattracking.h b/src/tempo/beattracking.h index 3747f280..bc57de86 100644 --- a/src/tempo/beattracking.h +++ b/src/tempo/beattracking.h @@ -36,8 +36,8 @@ \example tempo/test-beattracking.c */ -#ifndef _AUBIO_BEATTRACKING_H -#define _AUBIO_BEATTRACKING_H +#ifndef AUBIO_BEATTRACKING_H +#define AUBIO_BEATTRACKING_H #ifdef __cplusplus extern "C" { @@ -118,4 +118,4 @@ void del_aubio_beattracking(aubio_beattracking_t * p); } #endif -#endif /* _AUBIO_BEATTRACKING_H */ +#endif /* AUBIO_BEATTRACKING_H */ diff --git a/src/tempo/tempo.h b/src/tempo/tempo.h index 5e220e77..13675ec2 100644 --- a/src/tempo/tempo.h +++ b/src/tempo/tempo.h @@ -30,8 +30,8 @@ */ -#ifndef _AUBIO_TEMPO_H -#define _AUBIO_TEMPO_H +#ifndef AUBIO_TEMPO_H +#define AUBIO_TEMPO_H #ifdef __cplusplus extern "C" { @@ -252,4 +252,4 @@ void del_aubio_tempo(aubio_tempo_t * o); } #endif -#endif /* _AUBIO_TEMPO_H */ +#endif /* AUBIO_TEMPO_H */ diff --git a/src/temporal/a_weighting.h b/src/temporal/a_weighting.h index 72f02b8d..49dd4d5c 100644 --- a/src/temporal/a_weighting.h +++ b/src/temporal/a_weighting.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_FILTER_A_DESIGN_H -#define _AUBIO_FILTER_A_DESIGN_H +#ifndef AUBIO_FILTER_A_DESIGN_H +#define AUBIO_FILTER_A_DESIGN_H /** \file @@ -85,4 +85,4 @@ uint_t aubio_filter_set_a_weighting (aubio_filter_t * f, uint_t samplerate); } #endif -#endif /* _AUBIO_FILTER_A_DESIGN_H */ +#endif /* AUBIO_FILTER_A_DESIGN_H */ diff --git a/src/temporal/biquad.h b/src/temporal/biquad.h index 1b5147a4..1d19d942 100644 --- a/src/temporal/biquad.h +++ b/src/temporal/biquad.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_FILTER_BIQUAD_H -#define _AUBIO_FILTER_BIQUAD_H +#ifndef AUBIO_FILTER_BIQUAD_H +#define AUBIO_FILTER_BIQUAD_H /** \file @@ -72,4 +72,4 @@ aubio_filter_t *new_aubio_filter_biquad (lsmp_t b0, lsmp_t b1, lsmp_t b2, } #endif -#endif /* _AUBIO_FILTER_BIQUAD_H */ +#endif /* AUBIO_FILTER_BIQUAD_H */ diff --git a/src/temporal/c_weighting.h b/src/temporal/c_weighting.h index 5ef3874e..d87f61fa 100644 --- a/src/temporal/c_weighting.h +++ b/src/temporal/c_weighting.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_FILTER_C_DESIGN_H -#define _AUBIO_FILTER_C_DESIGN_H +#ifndef AUBIO_FILTER_C_DESIGN_H +#define AUBIO_FILTER_C_DESIGN_H /** \file @@ -85,4 +85,4 @@ uint_t aubio_filter_set_c_weighting (aubio_filter_t * f, uint_t samplerate); } #endif -#endif /* _AUBIO_FILTER_C_DESIGN_H */ +#endif /* AUBIO_FILTER_C_DESIGN_H */ diff --git a/src/temporal/filter.h b/src/temporal/filter.h index 3b3a954a..b8b678e8 100644 --- a/src/temporal/filter.h +++ b/src/temporal/filter.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_FILTER_H -#define _AUBIO_FILTER_H +#ifndef AUBIO_FILTER_H +#define AUBIO_FILTER_H /** \file @@ -173,4 +173,4 @@ void del_aubio_filter (aubio_filter_t * f); } #endif -#endif /* _AUBIO_FILTER_H */ +#endif /* AUBIO_FILTER_H */ diff --git a/src/temporal/resampler.h b/src/temporal/resampler.h index 4d5e7291..7528e8ac 100644 --- a/src/temporal/resampler.h +++ b/src/temporal/resampler.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_RESAMPLER_H -#define _AUBIO_RESAMPLER_H +#ifndef AUBIO_RESAMPLER_H +#define AUBIO_RESAMPLER_H /** \file @@ -62,4 +62,4 @@ void aubio_resampler_do (aubio_resampler_t * s, const fvec_t * input, } #endif -#endif /* _AUBIO_RESAMPLER_H */ +#endif /* AUBIO_RESAMPLER_H */ diff --git a/src/types.h b/src/types.h index 4200ad21..57df2e0d 100644 --- a/src/types.h +++ b/src/types.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO__TYPES_H -#define _AUBIO__TYPES_H +#ifndef AUBIO_TYPES_H +#define AUBIO_TYPES_H /** \file @@ -67,4 +67,4 @@ typedef char char_t; } #endif -#endif /* _AUBIO__TYPES_H */ +#endif /* AUBIO_TYPES_H */ diff --git a/src/utils/hist.h b/src/utils/hist.h index e0d04ca6..d39091a4 100644 --- a/src/utils/hist.h +++ b/src/utils/hist.h @@ -25,8 +25,8 @@ * Big hacks to implement an histogram */ -#ifndef _AUBIO_HIST_H -#define _AUBIO_HIST_H +#ifndef AUBIO_HIST_H +#define AUBIO_HIST_H #ifdef __cplusplus extern "C" { @@ -60,4 +60,4 @@ void aubio_hist_dyn_notnull (aubio_hist_t *s, fvec_t *input); } #endif -#endif /* _AUBIO_HIST_H */ +#endif /* AUBIO_HIST_H */ diff --git a/src/utils/parameter.h b/src/utils/parameter.h index 07a159b1..9649eb8c 100644 --- a/src/utils/parameter.h +++ b/src/utils/parameter.h @@ -18,8 +18,8 @@ */ -#ifndef _AUBIO_PARAMETER_H -#define _AUBIO_PARAMETER_H +#ifndef AUBIO_PARAMETER_H +#define AUBIO_PARAMETER_H /** \file @@ -156,4 +156,4 @@ void del_aubio_parameter( aubio_parameter_t * param ); } #endif -#endif /* _AUBIO_PARAMETER_H */ +#endif /* AUBIO_PARAMETER_H */ diff --git a/src/utils/scale.h b/src/utils/scale.h index abcf53b7..da311140 100644 --- a/src/utils/scale.h +++ b/src/utils/scale.h @@ -28,8 +28,8 @@ \f$ y = (x - ilow)*(ohig-olow)/(ihig-ilow) + olow \f$ */ -#ifndef _AUBIO_SCALE_H -#define _AUBIO_SCALE_H +#ifndef AUBIO_SCALE_H +#define AUBIO_SCALE_H #ifdef __cplusplus extern "C" { @@ -77,4 +77,4 @@ uint_t aubio_scale_set_limits (aubio_scale_t *s, smpl_t ilow, smpl_t ihig, } #endif -#endif /* _AUBIO_SCALE_H */ +#endif /* AUBIO_SCALE_H */ diff --git a/src/vecutils.h b/src/vecutils.h index d2cb119b..f0ed96e5 100644 --- a/src/vecutils.h +++ b/src/vecutils.h @@ -24,8 +24,8 @@ */ -#ifndef _AUBIO__VECUTILS_H -#define _AUBIO__VECUTILS_H +#ifndef AUBIO_VECUTILS_H +#define AUBIO_VECUTILS_H #ifdef __cplusplus extern "C" { @@ -113,4 +113,4 @@ void fvec_pow (fvec_t *s, smpl_t pow); } #endif -#endif /* _AUBIO__VECUTILS_H */ +#endif /* AUBIO_VECUTILS_H */ -- 2.11.0