meow
This commit is contained in:
parent
e986986e79
commit
53c7532351
10 changed files with 131 additions and 107 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue