diff options
author | 2023-05-05 17:52:40 +0200 | |
---|---|---|
committer | 2023-05-05 18:23:50 +0200 | |
commit | 781b4da64b9e3dafb356b7365e7ecf273e879602 (patch) | |
tree | 35bdcb22f19bc084e65c5c522a049c7051efbb29 /scripts/generate_rust_analyzer.py | |
parent | ALSA: pcm: fix playback silence - use the actual new_hw_ptr for the threshold mode (diff) | |
download | linux-rng-781b4da64b9e3dafb356b7365e7ecf273e879602.tar.xz linux-rng-781b4da64b9e3dafb356b7365e7ecf273e879602.zip |
ALSA: pcm: fix playback silence - correct incremental silencing
Commit 9a826ddba6e ("[ALSA] pcm core: fix silence_start calculations")
came with exactly the right commit message, but the patch just made
things broken in a different way: We'd fill at a too low address if the
area was already partially zeroed, so we'd under-fill. This affected
both thresholded mode (where it was somewhat less likely) and top-up
mode (where it would be the case consistently).
Co-developed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230505155244.2312199-3-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions