shithub: aubio

Download patch

ref: d7ac23fa5767fd3b35ff4cc8dfe7c172cd99bff2
parent: 1cc78e7e730d8c9788b146d630a088b12d6e86dc
author: Paul Brossier <piem@piem.org>
date: Sat Feb 22 16:51:33 EST 2014

tests/src/io/test-sink*: use source native samplerate

--- a/tests/src/io/test-sink_apple_audio.c
+++ b/tests/src/io/test-sink_apple_audio.c
@@ -17,7 +17,7 @@
   }
 
 #ifdef __APPLE__
-  uint_t samplerate = 44100;
+  uint_t samplerate = 0;
   uint_t hop_size = 512;
   uint_t n_frames = 0, read = 0;
 
--- a/tests/src/io/test-sink_sndfile.c
+++ b/tests/src/io/test-sink_sndfile.c
@@ -18,7 +18,7 @@
   }
 
 #ifdef HAVE_SNDFILE
-  uint_t samplerate = 44100;
+  uint_t samplerate = 0;
   uint_t hop_size = 512;
   uint_t n_frames = 0, read = 0;
 
--- a/tests/src/io/test-sink_wavwrite.c
+++ b/tests/src/io/test-sink_wavwrite.c
@@ -17,7 +17,7 @@
   }
 
 #ifdef HAVE_WAVWRITE
-  uint_t samplerate = 44100;
+  uint_t samplerate = 0;
   uint_t hop_size = 512;
   uint_t n_frames = 0, read = 0;