Merge "Fix multichannel integer resampling and add tests" into lmp-dev