https://bugs.kde.org/show_bug.cgi?id=500916

Nicolas Fella <nicolas.fe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/2e33bd0d2a |ma/kwin/-/commit/3350bbabd7
                   |9bca18b3b2f65a2aa0c61baa728 |0970d542672d40945aa4a0eac4b
                   |081                         |e2f

--- Comment #8 from Nicolas Fella <nicolas.fe...@gmx.de> ---
Git commit 3350bbabd70970d542672d40945aa4a0eac4be2f by Nicolas Fella.
Committed on 17/03/2025 at 13:50.
Pushed by nicolasfella into branch 'Plasma/6.3'.

plugins/systembell: Throttle audio bell

When too many bell requests are made simultaneously the resulting audio
playback can affect system performance, to the point where it completely
freezes.

Since playing too many audio bells at the same time is nonsensical anyway
limit ourselves to one every 100ms.

This interval is fairly arbitrary, but seems to work well enough in practice.
It still allows for two very fast keypresses to each trigger a distinctive
bell.


(cherry picked from commit 2e33bd0d2a9bca18b3b2f65a2aa0c61baa728081)

Co-authored-by: Nicolas Fella <nicolas.fe...@gmx.de>

M  +13   -0    src/plugins/systembell/systembell.cpp
M  +3    -0    src/plugins/systembell/systembell.h

https://invent.kde.org/plasma/kwin/-/commit/3350bbabd70970d542672d40945aa4a0eac4be2f

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to