ref: 2da4fd035cc44db3cd75543eeec100cdb5447081
parent: 20ad5171b07f1af0c0d16728d8ad5d2b24c81bd7
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Sat Dec 13 02:31:16 EST 2008
tests/multichan_throughput_test.c : Do throughput test on all three SINC based converters.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
+
+ * tests/multichan_throughput_test.c
+ Do throughput test on all three SINC based converters.
+
2008-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/samplerate.c examples/audio_out.c tests/*.c
--- a/tests/multichan_throughput_test.c
+++ b/tests/multichan_throughput_test.c
@@ -100,7 +100,7 @@
static void
single_run (void)
-{
+{ int k ;
printf ("\n CPU : ") ;
print_cpu_name () ;
@@ -111,14 +111,16 @@
" ---------------------------------------------------------------------"
) ;
- throughput_test (SRC_SINC_FASTEST, 1, 0) ;
- throughput_test (SRC_SINC_FASTEST, 2, 0) ;
- throughput_test (SRC_SINC_FASTEST, 3, 0) ;
- throughput_test (SRC_SINC_FASTEST, 4, 0) ;
- throughput_test (SRC_SINC_FASTEST, 5, 0) ;
+ for (k = 1 ; k <= 5 ; k++)
+ throughput_test (SRC_SINC_FASTEST, k, 0) ;
- throughput_test (SRC_SINC_MEDIUM_QUALITY, 1, 0) ;
- throughput_test (SRC_SINC_BEST_QUALITY, 1, 0) ;
+ puts ("") ;
+ for (k = 1 ; k <= 5 ; k++)
+ throughput_test (SRC_SINC_MEDIUM_QUALITY, k, 0) ;
+
+ puts ("") ;
+ for (k = 1 ; k <= 5 ; k++)
+ throughput_test (SRC_SINC_BEST_QUALITY, k, 0) ;
puts ("") ;
return ;