Check validity of channels & samplerate.