From d7ac23fa5767fd3b35ff4cc8dfe7c172cd99bff2 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 22 Feb 2014 21:51:33 -0300 Subject: [PATCH] tests/src/io/test-sink*: use source native samplerate --- tests/src/io/test-sink_apple_audio.c | 2 +- tests/src/io/test-sink_sndfile.c | 2 +- tests/src/io/test-sink_wavwrite.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.11.0