1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 22:08:12 +00:00
serenity/Userland/Services/AudioServer
Joel Petersson 42e118e6a9 AudioServer: Dequeue all buffers when clearing a ClientAudioStream
Previously we would exit the dequeuing loop after just one buffer
had been dequeued due to some bogus logic. This would manifest
when stopping and starting a track in SoundPlayer, where a few
miliseconds of 'old' audio would play when restarting the playback.

This commit makes sure we clear the entire queue.
2023-05-03 10:01:14 +02:00
..
AudioClient.ipc LibAudio+Userland: Use new audio queue in client-server communication 2022-04-21 13:55:00 +02:00
AudioServer.ipc LibAudio+Userland: Remove Audio::LegacyBuffer 2022-05-03 23:09:20 +02:00
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
ConnectionFromClient.cpp Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
ConnectionFromClient.h LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
FadingProperty.h LibWeb+AudioServer: Remove unused spaceship operators 2022-04-23 10:43:32 -07:00
main.cpp LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
Mixer.cpp LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
Mixer.h AudioServer: Dequeue all buffers when clearing a ClientAudioStream 2023-05-03 10:01:14 +02:00