9 #ifndef VISR_LIBEFL_DB_LINEAR_CONVERSION_HPP_INCLUDED 10 #define VISR_LIBEFL_DB_LINEAR_CONVERSION_HPP_INCLUDED 19 template<
typename T >
22 return static_cast<T
>(20.0)*std::log10( lin );
25 template<
typename T >
28 return std::pow( static_cast<T>(10.0), static_cast<T>(0.05)*dB );
34 #endif // #ifndef VISR_LIBEFL_DB_LINEAR_CONVERSION_HPP_INCLUDED T linear2dB(T lin)
Definition: db_linear_conversion.hpp:20
Definition: options.cpp:10
T dB2linear(T dB)
Definition: db_linear_conversion.hpp:26