Merge "add support more PCM encoding and avoid overwriting audio format" into main