strip down stable public API, defining add AUBIO_UNSTABLE to access unstable API
[aubio.git] / src / aubio.h
index 433a425..5aad3a1 100644 (file)
@@ -63,33 +63,37 @@ extern "C"
 #include "fvec.h"
 #include "cvec.h"
 #include "lvec.h"
-#include "mathutils.h"
-#include "vecutils.h"
-#include "utils/scale.h"
-#include "utils/hist.h"
-#include "spectral/tss.h"
+#include "musicutils.h"
 #include "temporal/resampler.h"
 #include "temporal/filter.h"
 #include "temporal/biquad.h"
 #include "temporal/a_weighting.h"
 #include "temporal/c_weighting.h"
-#include "spectral/filterbank.h"
-#include "spectral/filterbank_mel.h"
-#include "spectral/mfcc.h"
 #include "spectral/fft.h"
 #include "spectral/phasevoc.h"
-#include "spectral/spectral_centroid.h"
+#include "spectral/mfcc.h"
 #include "pitch/pitch.h"
+#include "onset/onset.h"
+#include "tempo/tempo.h"
+
+#if AUBIO_UNSTABLE
+#include "vecutils.h"
+#include "mathutils.h"
+#include "utils/scale.h"
+#include "utils/hist.h"
+#include "spectral/tss.h"
+#include "spectral/filterbank.h"
+#include "spectral/filterbank_mel.h"
 #include "pitch/pitchmcomb.h"
 #include "pitch/pitchyin.h"
 #include "pitch/pitchyinfft.h"
 #include "pitch/pitchschmitt.h"
 #include "pitch/pitchfcomb.h"
 #include "onset/onsetdetection.h"
-#include "onset/onset.h"
+#include "spectral/spectral_centroid.h"
 #include "onset/peakpick.h"
 #include "tempo/beattracking.h"
-#include "tempo/tempo.h"
+#endif
 
 #ifdef __cplusplus
 } /* extern "C" */