mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
AudioServer: Let ASMixer notify ASClientConnection about finished buffers.
Instead of posting a message directly from ASMixer, notify the client via ASClientConnection::did_finish_playing_buffer().
This commit is contained in:
parent
dbebf10131
commit
6a0319697c
3 changed files with 17 additions and 13 deletions
|
@ -13,6 +13,8 @@ public:
|
|||
void send_greeting() override;
|
||||
bool handle_message(const ASAPI_ClientMessage&, const ByteBuffer&& = {}) override;
|
||||
|
||||
void did_finish_playing_buffer(Badge<ASMixer>, int buffer_id);
|
||||
|
||||
private:
|
||||
ASMixer& m_mixer;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue