shithub: libsamplerate

Download patch

ref: 98d1963b5690158945125e4392416aace66eaa67
parent: dca5aef37aabf7bcf3a21790ac0502b03c4077dd
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Mon Feb 16 16:40:22 EST 2009

Whitespace cleanup.

--- a/src/src_sinc.c
+++ b/src/src_sinc.c
@@ -1166,7 +1166,7 @@
 	len = MIN (filter->in_count - filter->in_used, len) ;
 	len -= (len % filter->channels) ;
 
-	if  (len < 0 || filter->b_end + len > filter->b_len)
+	if (len < 0 || filter->b_end + len > filter->b_len)
 		return SRC_ERR_SINC_PREPARE_DATA_BAD_LEN ;
 
 	memcpy (filter->buffer + filter->b_end, data->data_in + filter->in_used,
--- a/tests/throughput_test.c
+++ b/tests/throughput_test.c
@@ -94,7 +94,7 @@
 	{	best_throughput = MAX (throughput, best_throughput) ;
 		printf ("%5.2f          %10ld       %10ld\n", duration, throughput, best_throughput) ;
 		}
-		
+
 
 	return best_throughput ;
 } /* throughput_test */
--- a/tests/util.c
+++ b/tests/util.c
@@ -179,7 +179,7 @@
 	while (fgets (buffer, sizeof (buffer), file) != NULL)
 		if (strstr (buffer, "model name") == buffer)
 		{	const char * cptr ;
-	
+
 			if ((cptr = strchr (buffer, ':')) != NULL)
 			{	cptr ++ ;
 				while (isspace (cptr [0])) cptr ++ ;