This commit is contained in:
Lucy Hochkamp 2025-09-17 09:02:08 +02:00
parent e986986e79
commit 53c7532351
No known key found for this signature in database
10 changed files with 131 additions and 107 deletions

View file

@ -7,7 +7,7 @@ index a43ad29b..d04edd18 100644
}
- int vol = round(volume_ * 100.0);
+ double vol = 20 * std::log10(volume_); // % to dB
+ double vol = 60 * std::log10(volume_); // % to dB
int source_vol = round(source_volume_ * 100.0);
// Get the state and apply state-specific format if available