Fixed a crippling bug in the streaming resampler: delta>=2 caused the stream to stop advancing