flush method

void flush(
  1. dynamic reportChunk(
    1. Float64x2List
    )
)

Runs STFT on any remaining input in the buffer.

Use after a series of calls to stream to zero pad and FFT the final chunk.

Implementation

void flush(Function(Float64x2List) reportChunk) =>
    _run(const <double>[], reportChunk, 0, false, true);