CVS: rdesktop rdpsnd_dsp.c,1.6,1.7

Michael Gernoth <[email protected]> Mon, 18 Sep 2006 03:20:05 -0700
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv20808

Modified Files:
	rdpsnd_dsp.c 
Log Message:
replace constants with their define


Index: rdpsnd_dsp.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd_dsp.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** rdpsnd_dsp.c	17 Sep 2006 20:06:37 -0000	1.6
--- rdpsnd_dsp.c	18 Sep 2006 10:20:02 -0000	1.7
***************
*** 46,51 ****
  		return;
  
! 	factor_left = (softvol_left * 256) / 65535;
! 	factor_right = (softvol_right * 256) / 65535;
  
  	if (format->nChannels == 1)
--- 46,51 ----
  		return;
  
! 	factor_left = (softvol_left * 256) / MAX_VOLUME;
! 	factor_right = (softvol_right * 256) / MAX_VOLUME;
  
  	if (format->nChannels == 1)


-------------------------------------------------------------------------
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