#include <sndfile.h>
#include "aubio_priv.h"
-#include "source_sndfile.h"
#include "fvec.h"
+#include "fmat.h"
+#include "source_sndfile.h"
#include "temporal/resampler.h"
if (s->ratio != 1) {
AUBIO_ERR("source_sndfile: no multi channel resampling yet");
return;
- data = s->input_data->data;
+ //data = s->input_data->data;
} else
#endif /* HAVE_SAMPLERATE */
{
#ifdef HAVE_SAMPLERATE
if (s->resampler) {
- aubio_resampler_do(s->resampler, s->input_data, read_data);
+ //aubio_resampler_do(s->resampler, s->input_data, read_data);
}
#endif /* HAVE_SAMPLERATE */
source. `hop_size` if enough frames could be read, less otherwise.
*/
-void aubio_source_sndfile_do(aubio_source_sndfile_t * s, fmat_t * read_to, uint_t * read);
+void aubio_source_sndfile_do_multi(aubio_source_sndfile_t * s, fmat_t * read_to, uint_t * read);
/**