Merge "Check for valid format before match in AudioPolicyManager::selectOutput"