diff options
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Services/AudioServer/Mixer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Services/AudioServer/Mixer.cpp b/Userland/Services/AudioServer/Mixer.cpp index 879b38fe24..7b26baea73 100644 --- a/Userland/Services/AudioServer/Mixer.cpp +++ b/Userland/Services/AudioServer/Mixer.cpp @@ -97,6 +97,8 @@ void Mixer::mix() Audio::Sample sample; if (!queue->get_next_sample(sample)) break; + if (queue->is_muted()) + continue; sample.log_multiply(SAMPLE_HEADROOM); sample.log_multiply(queue->volume()); mixed_sample += sample; |