Fix vol_old not getting updated

This commit is contained in:
Erik Präntare
2022-04-07 21:21:08 +02:00
committed by Kai Blaschke
parent de8151e1ac
commit f8fcb0ab79

View File

@ -60,6 +60,8 @@ void BeatDetect::reset()
void BeatDetect::calculateBeatStatistics()
{
vol_old = vol;
size_t constexpr fft_length = fftLength;
float vdataL[fftLength];
float vdataR[fftLength];