use correct types in rdpsnd_dsp_softvol
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1261 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
306a72ffe9
commit
45cc3f12f4
@ -55,7 +55,7 @@ rdpsnd_dsp_softvol(unsigned char *buffer, unsigned int size, WAVEFORMATEX * form
|
||||
|
||||
if (format->wBitsPerSample == 8)
|
||||
{
|
||||
char val;
|
||||
sint8 val;
|
||||
|
||||
while (posout < buffer + size)
|
||||
{
|
||||
@ -72,7 +72,7 @@ rdpsnd_dsp_softvol(unsigned char *buffer, unsigned int size, WAVEFORMATEX * form
|
||||
}
|
||||
else
|
||||
{
|
||||
short val;
|
||||
sint16 val;
|
||||
|
||||
while (posout < buffer + size)
|
||||
{
|
||||
@ -92,7 +92,7 @@ rdpsnd_dsp_softvol(unsigned char *buffer, unsigned int size, WAVEFORMATEX * form
|
||||
}
|
||||
}
|
||||
|
||||
DEBUG(("using softvol with shifts left: %d, right: %d (%d/%d)\n", factor_left, factor_right,
|
||||
DEBUG(("using softvol with factors left: %d, right: %d (%d/%d)\n", factor_left, factor_right,
|
||||
format->wBitsPerSample, format->nChannels));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user