handle arbitrary values of SNDRV_CARDS