[#153] Simplify the format check loop in getSupportedAudioFormat()