replace constants with their define

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1269 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Michael Gernoth 2006-09-18 10:20:02 +00:00
parent d8d445f63d
commit 1ee09f6688

View File

@ -45,8 +45,8 @@ rdpsnd_dsp_softvol(unsigned char *buffer, unsigned int size, WAVEFORMATEX * form
if ((softvol_left == MAX_VOLUME) && (softvol_right == MAX_VOLUME))
return;
factor_left = (softvol_left * 256) / 65535;
factor_right = (softvol_right * 256) / 65535;
factor_left = (softvol_left * 256) / MAX_VOLUME;
factor_right = (softvol_right * 256) / MAX_VOLUME;
if (format->nChannels == 1)
{