History

tests/multichan_throughput_test.c : Do throughput test on all three SINC based converters.

Erik de Castro Lopo committed 17 years ago

Commit 2da4fd01 parent 20ad5172 files · +15 −8Browse files

Unified · Split

2 files
  1. ChangeLog +5 −0
  2. tests/multichan_throughput_test.c +10 −8
ChangeLog+5−0
@@ -1,3 +1,8 @@
1+2008-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2+
3+ * tests/multichan_throughput_test.c
4+ Do throughput test on all three SINC based converters.
5+
16 2008-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
27
38 * src/samplerate.c examples/audio_out.c tests/*.c
tests/multichan_throughput_test.c+10−8
@@ -100,7 +100,7 @@ throughput_test (int converter, int channels, long best_throughput) · 99 unmodified lines
100100
101101 static void
102102 single_run (void)
103−{
103+{ int k ;
104104
105105 printf ("\n CPU : ") ;
106106 print_cpu_name () ;
@@ -111,14 +111,16 @@ single_run (void) · 4 unmodified lines
111111 " ---------------------------------------------------------------------"
112112 ) ;
113113
114− throughput_test (SRC_SINC_FASTEST, 1, 0) ;
115− throughput_test (SRC_SINC_FASTEST, 2, 0) ;
116− throughput_test (SRC_SINC_FASTEST, 3, 0) ;
117− throughput_test (SRC_SINC_FASTEST, 4, 0) ;
118− throughput_test (SRC_SINC_FASTEST, 5, 0) ;
114+ for (k = 1 ; k <= 5 ; k++)
115+ throughput_test (SRC_SINC_FASTEST, k, 0) ;
119116
120− throughput_test (SRC_SINC_MEDIUM_QUALITY, 1, 0) ;
121− throughput_test (SRC_SINC_BEST_QUALITY, 1, 0) ;
117+ puts ("") ;
118+ for (k = 1 ; k <= 5 ; k++)
119+ throughput_test (SRC_SINC_MEDIUM_QUALITY, k, 0) ;
120+
121+ puts ("") ;
122+ for (k = 1 ; k <= 5 ; k++)
123+ throughput_test (SRC_SINC_BEST_QUALITY, k, 0) ;
122124
123125 puts ("") ;
124126 return ;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t