I need to create virtual loopback alsa sinks in my ubuntu setup. I can create one by adding the following to /etc/modprobe.d/sound.conf
alias snd-card-0 snd-aloop
options snd-aloop index=21 pcm_substreams=8
I need to create multiple of these but I can't seem to find documentation on how to distinguish between the virtual cards. I would like to create 20.