mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +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
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…
Add table
Add a link
Reference in a new issue