| Summary: | Unmute does not unmute the audio | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] Phonon | Reporter: | Gopalakrishna Bhat <gopalakbhat> |
| Component: | frontend | Assignee: | Harald Sitter <sitter> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | martin.sandsmark, myriam, romain.perier |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | 4.6.1 | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
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. |
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