1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:27:45 +00:00

AudioServer: Added ability to get count of samples in the buffer queue

Now the AClientConnection can get the count of samples still in the
buffer queue.
This commit is contained in:
Till Mayer 2019-10-19 19:10:53 +02:00 committed by Andreas Kling
parent 8bb919d1cc
commit 406aabff23
7 changed files with 28 additions and 0 deletions

View file

@ -22,6 +22,7 @@ private:
virtual OwnPtr<AudioServer::GetMainMixVolumeResponse> handle(const AudioServer::GetMainMixVolume&) override;
virtual OwnPtr<AudioServer::SetMainMixVolumeResponse> handle(const AudioServer::SetMainMixVolume&) override;
virtual OwnPtr<AudioServer::EnqueueBufferResponse> handle(const AudioServer::EnqueueBuffer&) override;
virtual OwnPtr<AudioServer::GetRemainingSamplesResponse> handle(const AudioServer::GetRemainingSamples&) override;
ASMixer& m_mixer;
RefPtr<ASBufferQueue> m_queue;