summaryrefslogtreecommitdiffstats
path: root/pacman-c++/audio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/audio.cpp')
-rw-r--r--pacman-c++/audio.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/pacman-c++/audio.cpp b/pacman-c++/audio.cpp
index c0cc5b0..ad6eed1 100644
--- a/pacman-c++/audio.cpp
+++ b/pacman-c++/audio.cpp
@@ -282,6 +282,8 @@ bool GaplessAudioPlayer::isWorking() const
282 282
283void GaplessAudioPlayer::setMuted(bool mute) 283void GaplessAudioPlayer::setMuted(bool mute)
284{ 284{
285 if (!m_working)
286 return;
285 m_player1->setMuted(mute); 287 m_player1->setMuted(mute);
286 m_player2->setMuted(mute); 288 m_player2->setMuted(mute);
287} 289}