From: Paul Brossier Date: Tue, 26 May 2015 09:19:44 +0000 (+0200) Subject: tests/src/io/test-source.c: call aubio_source_close twice X-Git-Tag: 0.4.2~32 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=c82a03488a71f8c4f9373a393157fa785df37149;p=aubio.git tests/src/io/test-source.c: call aubio_source_close twice --- diff --git a/tests/src/io/test-source.c b/tests/src/io/test-source.c index 6d3e48f4..ae1e2016 100644 --- a/tests/src/io/test-source.c +++ b/tests/src/io/test-source.c @@ -44,6 +44,11 @@ int main (int argc, char **argv) PRINT_MSG("read %d frames at %dHz (%d blocks) from %s\n", n_frames, samplerate, n_frames / hop_size, source_path); + // close the file (optional) + aubio_source_close(s); + // test closing the file a second time + aubio_source_close(s); + del_fvec (vec); del_aubio_source (s); beach: