shithub: libsamplerate

Download patch

ref: c7aa81b1d904c7477395768754796dd51284e973
parent: 9204b0344a8f687aff7dcc9444bb4ed073de1b7d
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Tue Dec 16 06:15:44 EST 2008

tests/ : Update tests to make sure tests include tests for 10 channels.

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-16  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
+
+    * tests/multi_channel_test.c tests/multichan_throughput_test.c
+    Update tests to make sure tests include tests for 10 channels.
+
 2008-12-15  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
     * src/samplerate.c
--- a/tests/multi_channel_test.c
+++ b/tests/multi_channel_test.c
@@ -30,7 +30,7 @@
 #define	BUFFER_LEN		50000
 #define	BLOCK_LEN		(12)
 
-#define	MAX_CHANNELS	6
+#define	MAX_CHANNELS	10
 
 static void simple_test (int converter, int channel_count, double target_snr) ;
 static void process_test (int converter, int channel_count, double target_snr) ;
--- a/tests/multichan_throughput_test.c
+++ b/tests/multichan_throughput_test.c
@@ -100,7 +100,7 @@
 
 static void
 single_run (void)
-{	const int max_channels = 7 ;
+{	const int max_channels = 10 ;
 	int k ;
 
 	printf ("\n    CPU : ") ;