Function nih_plug::util::gain_to_db
source · pub fn gain_to_db(gain: f32) -> f32
Expand description
Convert a voltage gain ratio to decibels. Gain ratios that aren’t positive will be treated as
MINUS_INFINITY_DB
.
pub fn gain_to_db(gain: f32) -> f32
Convert a voltage gain ratio to decibels. Gain ratios that aren’t positive will be treated as
MINUS_INFINITY_DB
.