| 16 | namespace { |
| 17 | |
| 18 | float linearToDb(float linear) |
| 19 | { |
| 20 | if (linear <= 1e-6f) return -120.0f; |
| 21 | return 20.0f * std::log10(linear); |
| 22 | } |
| 23 | |
| 24 | // Same fast-attack / slow-release ballistics as ClientEqOutputFader so |
| 25 | // the meter feels visually consistent across applets. |
no outgoing calls
no test coverage detected