From 6d3777af5b58c435491b933564a0b55c6b9c9cf3 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 6 Mar 2013 16:32:06 -0500 Subject: [PATCH] tests/src/io/test-sink_sndfile.c: include config, fix path --- tests/src/io/test-sink_sndfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.26.2