Searched refs:ampl_sum (Results 1 – 1 of 1) sorted by relevance
55 double ampl_sum = 0.0; in pcm_to_decibel() local68 ampl_sum += abs(buffer[i]); in pcm_to_decibel()70 ampl_sum /= samples; in pcm_to_decibel()71 decibel = (int)(20.0 * log10(ampl_sum)); in pcm_to_decibel()
Completed in 4 milliseconds