CC resampler: align internal buffer correctly.
Merge pull request #1052 from aliaspider/master

CC resampler: align internal buffer correctly.