Skip to content

Fix broken volume slider with Qt Multimedia backend

Jack Hill requested to merge jackh/elisa:bug/volume into master

Reason for the change

QAudioOutput::setVolume takes a float from 0 to 1. We were calculating the volume correctly but then converted it to an integer from 0 to 100 before passing it to the QAudioOutput.

Test plan

  • Compile with Qt Multimedia
  • Play music
  • Drag volume slider

Bugs fixed

BUG: 392501

Merge request reports

Loading