Corrected syntax to stop warnings

pull/13/head
boblark 3 years ago
parent c6c0c3ca31
commit b222b60496
  1. 2
      analyze_fft4096_iqem_F32.cpp

@ -352,7 +352,7 @@ void AudioAnalyzeFFT4096_IQEM_F32::update(void) {
// Apply the window function, if any, to the time series. Half size window buffer.
if(wNum!=NULL && pWindow)
if(wNum>NO_WINDOW && pWindow) // fixed syntax 14May2022 RSL
{
for (int i=0; i < 2048; i++) {
*(pFFT_buffer + 2*i) *= *(pWindow + i); // real

Loading…
Cancel
Save