Fix missing parenthesis.

This commit is contained in:
bearoso 2019-02-12 23:09:50 -06:00 committed by GitHub
parent cf3feb24ac
commit 3cfe7b31e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ bool CWaveOut::SetupSound()
void CWaveOut::SetVolume(double volume)
{
uint32 volumeout = volume * 0xffff;
waveOutSetVolume(hWaveOut, volumeout + (volumeout << 16);
waveOutSetVolume(hWaveOut, volumeout + (volumeout << 16));
}
void CWaveOut::BeginPlayback()