From: Paul Brossier Date: Sun, 23 Feb 2014 00:51:33 +0000 (-0300) Subject: tests/src/io/test-sink*: use source native samplerate X-Git-Tag: 0.4.1~40 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=d7ac23fa5767fd3b35ff4cc8dfe7c172cd99bff2 tests/src/io/test-sink*: use source native samplerate --- diff --git a/tests/src/io/test-sink_apple_audio.c b/tests/src/io/test-sink_apple_audio.c index 642ea5c0..ebafbd95 100644 --- a/tests/src/io/test-sink_apple_audio.c +++ b/tests/src/io/test-sink_apple_audio.c @@ -17,7 +17,7 @@ int main (int argc, char **argv) } #ifdef __APPLE__ - uint_t samplerate = 44100; + uint_t samplerate = 0; uint_t hop_size = 512; uint_t n_frames = 0, read = 0; diff --git a/tests/src/io/test-sink_sndfile.c b/tests/src/io/test-sink_sndfile.c index 5dd7fb02..bd52e566 100644 --- a/tests/src/io/test-sink_sndfile.c +++ b/tests/src/io/test-sink_sndfile.c @@ -18,7 +18,7 @@ int main (int argc, char **argv) } #ifdef HAVE_SNDFILE - uint_t samplerate = 44100; + uint_t samplerate = 0; uint_t hop_size = 512; uint_t n_frames = 0, read = 0; diff --git a/tests/src/io/test-sink_wavwrite.c b/tests/src/io/test-sink_wavwrite.c index 49f309bc..0d2994f5 100644 --- a/tests/src/io/test-sink_wavwrite.c +++ b/tests/src/io/test-sink_wavwrite.c @@ -17,7 +17,7 @@ int main (int argc, char **argv) } #ifdef HAVE_WAVWRITE - uint_t samplerate = 44100; + uint_t samplerate = 0; uint_t hop_size = 512; uint_t n_frames = 0, read = 0;