oboe: fix off-by-one in resampler filter

Try to optimize float to int conversion.
Numerous small tweaks from review.
6 files changed