pub fn linear_power_to_db(ratio: f64) -> f64
Converts a power ratio to decibels, 10 log10(ratio).
10 log10(ratio)