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 @@
12008-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
12008-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>62008-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2 7
3 * src/samplerate.c examples/audio_out.c tests/*.c8 * 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
100 100
101static void101static void
102single_run (void)102single_run (void)
103{103{ int k ;
104 104
105 printf ("\n CPU : ") ;105 printf ("\n CPU : ") ;
106 print_cpu_name () ;106 print_cpu_name () ;
@@ -111,14 +111,16 @@ single_run (void) · 4 unmodified lines
111 " ---------------------------------------------------------------------"111 " ---------------------------------------------------------------------"
112 ) ;112 ) ;
113 113
114 throughput_test (SRC_SINC_FASTEST, 1, 0) ;114 for (k = 1 ; k <= 5 ; k++)
115 throughput_test (SRC_SINC_FASTEST, 2, 0) ;115 throughput_test (SRC_SINC_FASTEST, k, 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) ;
119 116
120 throughput_test (SRC_SINC_MEDIUM_QUALITY, 1, 0) ;117 puts ("") ;
121 throughput_test (SRC_SINC_BEST_QUALITY, 1, 0) ;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) ;
122 124
123 puts ("") ;125 puts ("") ;
124 return ;126 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