Merge "Fix rounding in RecordThread resampler buffer computation" into lmp-dev