Merge "Add tests for AudioInput|OutputFlags conversion" into main