Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I2cba36426d8af40f94712f7f05f4e0dd4efce6e7
This commit is contained in:
Sergio Ahumada
2013-09-06 14:32:51 +02:00
3 changed files with 13 additions and 13 deletions

View File

@@ -702,7 +702,7 @@ void QAudioOutputPrivate::setVolume(qreal v)
volumeCache = normalizedVolume;
return;
}
const qint16 scaled = normalizedVolume * 0xFFFF;
const quint16 scaled = normalizedVolume * 0xFFFF;
DWORD vol = MAKELONG(scaled, scaled);
MMRESULT res = waveOutSetVolume(hWaveOut, vol);
if (res == MMSYSERR_NOERROR)