summaryrefslogtreecommitdiffstats
path: root/src/multimedia/qmediaformat.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-07-09 09:43:12 +0200
committerLars Knoll <lars.knoll@qt.io>2021-07-09 18:38:14 +0200
commita7310e006498155efed33256eabc34e548499e38 (patch)
tree354dd19828df00af4910d216641f16b325f0467d /src/multimedia/qmediaformat.cpp
parent9609f32229d0b096f65bb6059dae183132c6fdc9 (diff)
Adjust API of QAudio::convertVolume() to use floats
Make it compatible with QAudioInput/Output::setVolume() which also uses floats. While at it, fix the volume setting in the player example to work correctly with [0,1] ranges (it used to be [0,100] in Qt 5). Change-Id: I62c0575abd60b6dd05975a2e8702686d37ae6ec5 Reviewed-by: André de la Rocha <andre.rocha@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimedia/qmediaformat.cpp')
0 files changed, 0 insertions, 0 deletions