Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I2cba36426d8af40f94712f7f05f4e0dd4efce6e7
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user