| 27 | } |
| 28 | |
| 29 | float dbToLinear(float db) |
| 30 | { |
| 31 | return std::pow(10.0f, db / 20.0f); |
| 32 | } |
| 33 | |
| 34 | // Attack / release for the displayed peak — fast rise, slow fall so the |
| 35 | // bar tracks transients but doesn't flicker. |
no outgoing calls
no test coverage detected