CVS: rdesktop rdpsnd_dsp.c,1.20,1.21

Michael Gernoth <[email protected]> Thu, 26 Oct 2006 15:26:19 -0700
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv9657

Modified Files:
	rdpsnd_dsp.c 
Log Message:
small fix to the (still disabled) linear resampler


Index: rdpsnd_dsp.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd_dsp.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** rdpsnd_dsp.c	2 Oct 2006 08:01:24 -0000	1.20
--- rdpsnd_dsp.c	26 Oct 2006 22:26:16 -0000	1.21
***************
*** 309,313 ****
  			break;
  
! #if 0				/* Linear resampling, TODO: soundquality fixes */
  		if (samplewidth == 1)
  		{
--- 309,313 ----
  			break;
  
! #if 0				/* Linear resampling, TODO: soundquality fixes (LP filter) */
  		if (samplewidth == 1)
  		{
***************
*** 322,326 ****
  				       (samplewidth * j), samplewidth);
  
! 				cval1 += (cval2 * part) / 100;
  
  				memcpy(*out + (i * resample_to_channels * samplewidth) +
--- 322,326 ----
  				       (samplewidth * j), samplewidth);
  
! 				cval1 += (sint8)(cval2 * part) / 100;
  
  				memcpy(*out + (i * resample_to_channels * samplewidth) +
***************
*** 340,344 ****
  				       (samplewidth * j), samplewidth);
  
! 				sval1 += (sval2 * part) / 100;
  
  				memcpy(*out + (i * resample_to_channels * samplewidth) +
--- 340,344 ----
  				       (samplewidth * j), samplewidth);
  
! 				sval1 += (sint16)(sval2 * part) / 100;
  
  				memcpy(*out + (i * resample_to_channels * samplewidth) +


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642