Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/vts/
DVtsHalVolumeTargetTest.cpp148 mInputMag.resize(mTestFrequencies.size()); in VolumeDataTest()
152 mInputMag = calculateMagnitude(mInput, mBinOffsets, kNPointFFT); in VolumeDataTest()
158 for (size_t i = 0; i < mInputMag.size(); i++) { in calculatePercentageDiff()
159 float diff = mInputMag[i] - outputMag[i]; in calculatePercentageDiff()
160 percentages[i] = std::round(diff / mInputMag[i] * 100); in calculatePercentageDiff()
189 std::vector<float> mInputMag; member in VolumeDataTest