1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00

ABuffer: move it and groove it

This commit is contained in:
Robin Burchell 2019-07-17 09:42:58 +02:00 committed by Andreas Kling
parent 2df6f0e87f
commit ed25d524f2
3 changed files with 4 additions and 4 deletions

View file

@ -156,7 +156,7 @@ bool ASClientConnection::handle_message(const ASAPI_ClientMessage& message, cons
reply.playing_buffer.buffer_id = message.play_buffer.buffer_id;
post_message(reply);
m_mixer.queue(*this, adopt(*new ABuffer(samples)));
m_mixer.queue(*this, adopt(*new ABuffer(move(samples))));
break;
}
case ASAPI_ClientMessage::Type::Invalid: