diff options
author | Till Mayer <till.mayer@web.de> | 2019-10-16 15:31:01 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-16 16:25:38 +0200 |
commit | 4c8341d0806bd86553c1939c9910c1f3f2aff6cf (patch) | |
tree | adecc303fd13a016703282b0b57258a127e8fb01 /Kernel/KParams.h | |
parent | 7e97e1c5d9adaedf7e4af13021d659371610e4c8 (diff) | |
download | serenity-4c8341d0806bd86553c1939c9910c1f3f2aff6cf.zip |
LibAudio: Fixed stuttery playback of audio
When playing an ABuffer, the count of samples were determined by the
size of the SharedBuffer. This caused small pauses of up to 512
samples during the playback, when the size of the shared buffer was
rounded up to a multiple of 4096. This problem was amplified by the
fact that the AResampleHelper was created every time a new chunk of
audio was to be processed, causing inconsistencies in the playback of
wav files.
Diffstat (limited to 'Kernel/KParams.h')
0 files changed, 0 insertions, 0 deletions