diff options
author | Joel Petersson <joel.anders.petersson@gmail.com> | 2023-05-02 22:36:14 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-03 10:01:14 +0200 |
commit | 42e118e6a92e22b43a350e9ee10fe1a3f377343b (patch) | |
tree | 8023d35f42c91665cf1b3429a6d5d37c5c9ea2ba /Tests/LibWeb/Layout/expected/acid1.txt | |
parent | 23bc306f9918e5852c9a736cd5820e033dff2f13 (diff) | |
download | serenity-42e118e6a92e22b43a350e9ee10fe1a3f377343b.zip |
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.
Diffstat (limited to 'Tests/LibWeb/Layout/expected/acid1.txt')
0 files changed, 0 insertions, 0 deletions