flowgraph: optimize resampler

Add mono.
Add comments.
14 files changed