flush method

STFTFrames flush()

Flushes the tail of a streaming run and returns the remaining complex frames.

Implementation

STFTFrames flush() {
  return _runOutputOnlyComplexOp(
    framesCap: maxFlushFrames,
    op: (outRe, outIm, framesCap) {
      return yl_stft_flush_r2c(res.handle, outRe, outIm, framesCap);
    },
  );
}