ERIS CORE

◆ apply_window_to_fft_buffer()

static void apply_window_to_fft_buffer ( void *  buffer,
const void *  window 
)
static

Definition at line 110 of file eris_analyze_fft1024.cpp.

111 {
112  int16_t *buf = (int16_t *)buffer;
113  const int16_t *win = (int16_t *)window;;
114 
115  for (int i=0; i < 1024; i++) {
116  int32_t val = *buf * *win++;
117  //*buf = signed_saturate_rshift(val, 16, 15);
118  *buf = val >> 15;
119  buf += 2;
120  }
121 
122 }

Referenced by erisAudioAnalyzeFFT1024::update().

+ Here is the caller graph for this function: