I am trying to use phonon to play video in my program. The video plays back properly with audio the first time. When I mute and unmute the audio remains muted AudioOutput::isMuted() returns false after unmuting. Reproducible: Always Steps to Reproduce: 1.As mentioned in the description 2. The snippet below get the audio playing again after unmuting void FullScreenPlayer::mute() { qreal volume = m_audioOutput->volume(); m_audioOutput->setMuted(true); m_audioOutput->setVolume(volume); } void FullScreenPlayer::unmute() { m_audioOutput->setMuted(false); } 3. Actual Results: The audio is muted after unmute Expected Results: Audio is heard after unmuting
if I'm not wrong, this is because d->volume (the volume set in the private object) of AudioOutput is set to 0 for some reason. Platform::loadVolume(name) probably returns 0.0. So when it is unmuted, the backend is told to set the volume to 0.0 again.
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.