浏览代码

AudioServer: Decrease sample headroom to 5%

This might still be too much, but it's better than what we had before.
kleines Filmröllchen 3 年之前
父节点
当前提交
79deb7d6c7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Userland/Services/AudioServer/Mixer.h

+ 1 - 1
Userland/Services/AudioServer/Mixer.h

@@ -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;