mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 21:10:30 +00:00
AudioServer: Decrease sample headroom to 5%
This might still be too much, but it's better than what we had before.
This commit is contained in:
parent
1088c2c716
commit
79deb7d6c7
Notes:
sideshowbarker
2024-07-17 17:25:19 +09:00
Author: https://github.com/kleinesfilmroellchen Commit: https://github.com/SerenityOS/serenity/commit/79deb7d6c7 Pull-request: https://github.com/SerenityOS/serenity/pull/12857 Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ namespace AudioServer {
|
|||
|
||||
// Headroom, i.e. fixed attenuation for all audio streams.
|
||||
// This is to prevent clipping when two streams with low headroom (e.g. normalized & compressed) are playing.
|
||||
constexpr double SAMPLE_HEADROOM = 0.7;
|
||||
constexpr double SAMPLE_HEADROOM = 0.95;
|
||||
|
||||
class ConnectionFromClient;
|
||||
|
||||
|
|
Loading…
Reference in a new issue