projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba0ba10
)
tests/src/io/test-source_sndfile.c: use source samplerate, print read samples
author
Paul Brossier
<piem@piem.org>
Thu, 5 Dec 2013 02:44:30 +0000
(21:44 -0500)
committer
Paul Brossier
<piem@piem.org>
Thu, 5 Dec 2013 02:44:30 +0000
(21:44 -0500)
tests/src/io/test-source_sndfile.c
patch
|
blob
|
history
diff --git
a/tests/src/io/test-source_sndfile.c
b/tests/src/io/test-source_sndfile.c
index
d3d31d4
..
1ed556c
100644
(file)
--- a/
tests/src/io/test-source_sndfile.c
+++ b/
tests/src/io/test-source_sndfile.c
@@
-17,7
+17,7
@@
int main (int argc, char **argv)
}
#ifdef HAVE_SNDFILE
- uint_t samplerate =
3200
0;
+ uint_t samplerate = 0;
uint_t hop_size = 256;
uint_t n_frames = 0, read = 0;
if ( argc == 3 ) samplerate = atoi(argv[2]);
@@
-32,7
+32,7
@@
int main (int argc, char **argv)
do {
aubio_source_sndfile_do(s, vec, &read);
-
//
fvec_print (vec);
+ fvec_print (vec);
n_frames += read;
} while ( read == hop_size );