summaryrefslogtreecommitdiff
path: root/Servers/AudioServer/ASClientConnection.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-27 18:41:24 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-27 18:41:24 +0200
commit60a9a232be4c51340e57082f6a4884cd49f80cd6 (patch)
tree14a42d1a82eda616d46d49f4cd9a0cd80f76873d /Servers/AudioServer/ASClientConnection.cpp
parent5e01dde7b1a7ea8723e127c365331f10a9695546 (diff)
downloadserenity-60a9a232be4c51340e57082f6a4884cd49f80cd6.zip
AudioServer: Remove some outdated comments.
Diffstat (limited to 'Servers/AudioServer/ASClientConnection.cpp')
-rw-r--r--Servers/AudioServer/ASClientConnection.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Servers/AudioServer/ASClientConnection.cpp b/Servers/AudioServer/ASClientConnection.cpp
index e70eb91fa1..23d0c2f018 100644
--- a/Servers/AudioServer/ASClientConnection.cpp
+++ b/Servers/AudioServer/ASClientConnection.cpp
@@ -39,8 +39,6 @@ bool ASClientConnection::handle_message(const ASAPI_ClientMessage& message, cons
set_client_pid(message.greeting.client_pid);
break;
case ASAPI_ClientMessage::Type::PlayBuffer: {
- // ### ensure that the size is that of a Vector<ASample>
-
auto shared_buffer = SharedBuffer::create_from_shared_buffer_id(message.play_buffer.buffer_id);
if (!shared_buffer) {
did_misbehave();
@@ -48,7 +46,6 @@ bool ASClientConnection::handle_message(const ASAPI_ClientMessage& message, cons
}
// we no longer need the buffer, so acknowledge that it's playing
- // TODO: rate limit playback here somehow
ASAPI_ServerMessage reply;
reply.type = ASAPI_ServerMessage::Type::PlayingBuffer;
reply.playing_buffer.buffer_id = message.play_buffer.buffer_id;