summaryrefslogtreecommitdiff
path: root/Userland/Services/AudioServer/ClientConnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/AudioServer/ClientConnection.cpp')
-rw-r--r--Userland/Services/AudioServer/ClientConnection.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/Userland/Services/AudioServer/ClientConnection.cpp b/Userland/Services/AudioServer/ClientConnection.cpp
index 5e09395643..825413726e 100644
--- a/Userland/Services/AudioServer/ClientConnection.cpp
+++ b/Userland/Services/AudioServer/ClientConnection.cpp
@@ -149,4 +149,18 @@ void ClientConnection::set_main_mix_muted(bool muted)
{
m_mixer.set_muted(muted);
}
+
+Messages::AudioServer::IsSelfMutedResponse ClientConnection::is_self_muted()
+{
+ if (m_queue)
+ return m_queue->is_muted();
+
+ return false;
+}
+
+void ClientConnection::set_self_muted(bool muted)
+{
+ if (m_queue)
+ m_queue->set_muted(muted);
+}
}