Merge "AAudio: Fix counting of written / read frames for legacy input" into oc-dev