mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 04:37:40 +00:00
AudioServer: Remove some outdated comments.
This commit is contained in:
parent
5e01dde7b1
commit
60a9a232be
1 changed files with 0 additions and 3 deletions
|
@ -39,8 +39,6 @@ bool ASClientConnection::handle_message(const ASAPI_ClientMessage& message, cons
|
||||||
set_client_pid(message.greeting.client_pid);
|
set_client_pid(message.greeting.client_pid);
|
||||||
break;
|
break;
|
||||||
case ASAPI_ClientMessage::Type::PlayBuffer: {
|
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);
|
auto shared_buffer = SharedBuffer::create_from_shared_buffer_id(message.play_buffer.buffer_id);
|
||||||
if (!shared_buffer) {
|
if (!shared_buffer) {
|
||||||
did_misbehave();
|
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
|
// we no longer need the buffer, so acknowledge that it's playing
|
||||||
// TODO: rate limit playback here somehow
|
|
||||||
ASAPI_ServerMessage reply;
|
ASAPI_ServerMessage reply;
|
||||||
reply.type = ASAPI_ServerMessage::Type::PlayingBuffer;
|
reply.type = ASAPI_ServerMessage::Type::PlayingBuffer;
|
||||||
reply.playing_buffer.buffer_id = message.play_buffer.buffer_id;
|
reply.playing_buffer.buffer_id = message.play_buffer.buffer_id;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue