Backport of "audiorate: Update next_offset per rate change" into 1.16
requested to merge tpm/gst-plugins-base:backport-mr-489-into-1.16-fix-audiorate-regression into 1.16
Backport of !489 (merged) "audiorate: Update next_offset per rate change".
Commits: