Function nih_plug::formatters::v2s_f32_gain_to_db
source · pub fn v2s_f32_gain_to_db(
digits: usize
) -> Arc<dyn Fn(f32) -> String + Send + Sync>
Expand description
Turn an f32
value from voltage gain to decibels using the semantics described in
[util::gain_to_db()]. You should use either
“ dB“or
“ dBFS“for the parameter's unit.
0.0will be formatted as
-inf`.