Home
last modified time | relevance | path

Searched refs:amplitude (Results 1 – 2 of 2) sorted by relevance

/system/media/audio_utils/include/audio_utils/
Dpower.h80 static inline float audio_utils_power_from_amplitude(float amplitude) in audio_utils_power_from_amplitude() argument
82 return 20.f * log10f(fabsf(amplitude)); in audio_utils_power_from_amplitude()
/system/media/audio_utils/
Dpower.cpp126 const float amplitude = convertToFloatAndIncrement<FORMAT>(&amplitudes); in energyMonoRef() local
127 accum += amplitude * amplitude; in energyMonoRef()