Check that channel layout is compatible with number of channels for