ref: 799e05b0de8d92696dd492afbc758daf8bd32603
parent: 60ae447c9a02eb754b6347557f6e266213d8b872
author: Paul Brossier <piem@piem.org>
date: Tue Mar 14 01:24:46 EDT 2017
src/effects/: include aubio_priv.h, not config.h, use <> for external includes
--- a/src/effects/pitchshift_rubberband.c
+++ b/src/effects/pitchshift_rubberband.c
@@ -25,7 +25,7 @@
#include "fvec.h"
#include "effects/pitchshift.h"
-#include "rubberband/rubberband-c.h"
+#include <rubberband/rubberband-c.h>
/** generic pitch shifting structure */
struct _aubio_pitchshift_t
--- a/src/effects/rubberband_utils.c
+++ b/src/effects/rubberband_utils.c
@@ -4,7 +4,7 @@
#ifdef HAVE_RUBBERBAND
-#include "rubberband/rubberband-c.h"
+#include <rubberband/rubberband-c.h>
// check rubberband is 1.8.1, warn if 1.3
#if !((RUBBERBAND_API_MAJOR_VERSION >= 2) && \
--- a/src/effects/timestretch_dummy.c
+++ b/src/effects/timestretch_dummy.c
@@ -18,11 +18,10 @@
*/
-#include "config.h"
+#include "aubio_priv.h"
#ifndef HAVE_RUBBERBAND
-#include "aubio_priv.h"
#include "fvec.h"
#include "effects/timestretch.h"
--- a/src/effects/timestretch_rubberband.c
+++ b/src/effects/timestretch_rubberband.c
@@ -18,17 +18,16 @@
*/
-#include "config.h"
+#include "aubio_priv.h"
#ifdef HAVE_RUBBERBAND
-#include "aubio_priv.h"
#include "fvec.h"
#include "fmat.h"
#include "io/source.h"
#include "effects/timestretch.h"
-#include "rubberband/rubberband-c.h"
+#include <rubberband/rubberband-c.h>
#define MIN_STRETCH_RATIO 0.025
#define MAX_STRETCH_RATIO 40.