OptionLoader: add getSampleRates and getChannelLayouts

Use these functions to check the audio profile in OutputAudio.