}
#else
+
+// TODO fallback pitch shifting implementation
+
struct _aubio_pitchshift_t
{
void *dummy;
fvec_t * out UNUSED) {
}
-void del_aubio_pitchshift (aubio_pitchshift_t * o UNUSED) {}
+void del_aubio_pitchshift (aubio_pitchshift_t * o UNUSED) {
+}
aubio_pitchshift_t *new_aubio_pitchshift (const char_t * method UNUSED,
smpl_t pitchscale UNUSED, uint_t hop_size UNUSED, uint_t samplerate UNUSED)
AUBIO_ERR ("aubio was not compiled with rubberband\n");
return NULL;
}
+
uint_t aubio_pitchshift_set_pitchscale (aubio_pitchshift_t * o UNUSED, smpl_t pitchscale UNUSED)
{
return AUBIO_FAIL;
}
+
smpl_t aubio_pitchshift_get_pitchscale (aubio_pitchshift_t * o UNUSED)
{
return 1.;
}
+
uint_t aubio_pitchshift_set_transpose (aubio_pitchshift_t * o UNUSED, smpl_t transpose UNUSED) {
return AUBIO_FAIL;
}
+
smpl_t aubio_pitchshift_get_transpose (aubio_pitchshift_t * o UNUSED) {
return 0.;
}
+
+// end of dummy implementation
+
#endif /* HAVE_RUBBERBAND */