Avoid some divisions, just in case.
Actually use the resample buffer.

Fixes static in Final Fantasy Tactics music.