diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-27 18:41:24 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-27 18:41:24 +0200 |
commit | 60a9a232be4c51340e57082f6a4884cd49f80cd6 (patch) | |
tree | 14a42d1a82eda616d46d49f4cd9a0cd80f76873d /Servers/AudioServer/ASClientConnection.cpp | |
parent | 5e01dde7b1a7ea8723e127c365331f10a9695546 (diff) | |
download | serenity-60a9a232be4c51340e57082f6a4884cd49f80cd6.zip |
AudioServer: Remove some outdated comments.
Diffstat (limited to 'Servers/AudioServer/ASClientConnection.cpp')
-rw-r--r-- | Servers/AudioServer/ASClientConnection.cpp | 3 |
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; |