dramatic change in logic and naming for operations related to adding a MIDI region...
[ardour.git] / libs / ardour / ardour / dB.h
index 209ab11edc96faa45be6df19b8170e9cd464d49f..4d5f6c9f44575720439cee0c2a3db20e84770ba9 100644 (file)
@@ -31,7 +31,9 @@ static inline float fast_coefficient_to_dB (float coeff) {
 }
 
 static inline float accurate_coefficient_to_dB (float coeff) {
-       return 20.0f * log10 (coeff);
+       return 20.0f * log10f (coeff);
 }
 
+extern double zero_db_as_fraction;
+
 #endif /* __ardour_dB_h__ */