Merge "aaudio: factor the format converstion function" into sc-dev