Merge "audio policy: refactor output and input opening"