Searched refs:peakAmp (Results 1 – 1 of 1) sorted by relevance
73 std::vector<int32_t> peakAmp; in GetVoiceFlag() local78 peakAmp.push_back(fabs(data[peaks[i]])); in GetVoiceFlag()80 lowerAmp = *max_element(peakAmp.begin(), peakAmp.end()) * INTERSITY_BOUNDARY_POINT; in GetVoiceFlag()81 if (peakAmp.size() > 2) { in GetVoiceFlag()82 lowerAmp = peakAmp[static_cast<int32_t>(peakAmp.size() * INTERSITY_NUMBER_BOUNDARY_POINT)]; in GetVoiceFlag()