summaryrefslogtreecommitdiff
path: root/Userland/Services/AudioServer
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-23 09:20:46 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-23 09:53:55 +0200
commit5424372d505687504424ce657b1438aea8f2a315 (patch)
tree4246085e1d2088a0884d8120e4b729972db138d8 /Userland/Services/AudioServer
parente7fc46879e80ad08c945d3b88e13b836ac4d3b68 (diff)
downloadserenity-5424372d505687504424ce657b1438aea8f2a315.zip
AudioServer: Remove unnecessary greet() message
Diffstat (limited to 'Userland/Services/AudioServer')
-rw-r--r--Userland/Services/AudioServer/AudioServer.ipc3
-rw-r--r--Userland/Services/AudioServer/ClientConnection.cpp4
-rw-r--r--Userland/Services/AudioServer/ClientConnection.h1
3 files changed, 0 insertions, 8 deletions
diff --git a/Userland/Services/AudioServer/AudioServer.ipc b/Userland/Services/AudioServer/AudioServer.ipc
index 620c27e484..b78e683026 100644
--- a/Userland/Services/AudioServer/AudioServer.ipc
+++ b/Userland/Services/AudioServer/AudioServer.ipc
@@ -1,8 +1,5 @@
endpoint AudioServer
{
- // Basic protocol
- greet() => ()
-
// Mixer functions
set_muted(bool muted) => ()
get_muted() => (bool muted)
diff --git a/Userland/Services/AudioServer/ClientConnection.cpp b/Userland/Services/AudioServer/ClientConnection.cpp
index 34ef976d73..7fcd473b59 100644
--- a/Userland/Services/AudioServer/ClientConnection.cpp
+++ b/Userland/Services/AudioServer/ClientConnection.cpp
@@ -59,10 +59,6 @@ void ClientConnection::did_change_main_mix_volume(Badge<Mixer>, int volume)
async_main_mix_volume_changed(volume);
}
-void ClientConnection::greet()
-{
-}
-
Messages::AudioServer::GetMainMixVolumeResponse ClientConnection::get_main_mix_volume()
{
return m_mixer.main_volume();
diff --git a/Userland/Services/AudioServer/ClientConnection.h b/Userland/Services/AudioServer/ClientConnection.h
index 21c65fbffa..fd965b6cd6 100644
--- a/Userland/Services/AudioServer/ClientConnection.h
+++ b/Userland/Services/AudioServer/ClientConnection.h
@@ -35,7 +35,6 @@ public:
static void for_each(Function<void(ClientConnection&)>);
private:
- virtual void greet() override;
virtual Messages::AudioServer::GetMainMixVolumeResponse get_main_mix_volume() override;
virtual void set_main_mix_volume(i32) override;
virtual Messages::AudioServer::EnqueueBufferResponse enqueue_buffer(Core::AnonymousBuffer const&, i32, int) override;