From: Paul Brossier Date: Wed, 6 Mar 2013 21:32:06 +0000 (-0500) Subject: tests/src/io/test-sink_sndfile.c: include config, fix path X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d3777af5b58c435491b933564a0b55c6b9c9cf3;p=aubio.git tests/src/io/test-sink_sndfile.c: include config, fix path --- diff --git a/tests/src/io/test-sink_sndfile.c b/tests/src/io/test-sink_sndfile.c index 66c62582..5dd7fb02 100644 --- a/tests/src/io/test-sink_sndfile.c +++ b/tests/src/io/test-sink_sndfile.c @@ -1,5 +1,6 @@ #define AUBIO_UNSTABLE 1 #include +#include "config.h" #include "utils_tests.h" // this file uses the unstable aubio api, please use aubio_sink instead @@ -26,9 +27,9 @@ int main (int argc, char **argv) if ( argc == 4 ) samplerate = atoi(argv[3]); fvec_t *vec = new_fvec(hop_size); - aubio_source_sndfile_t * i = new_aubio_source_sndfile(path, samplerate, hop_size); + aubio_source_sndfile_t * i = new_aubio_source_sndfile(source_path, samplerate, hop_size); if (samplerate == 0 ) samplerate = aubio_source_sndfile_get_samplerate(i); - aubio_sink_sndfile_t * o = new_aubio_sink_sndfile(outpath, samplerate); + aubio_sink_sndfile_t * o = new_aubio_sink_sndfile(sink_path, samplerate); if (!i || !o) { err = 1; goto beach; }