Adding multiple Loopback Alsa devices in ubuntu

alsa, ubuntu

Solution

This creates five loopback cards:

options snd-aloop enable=1,1,1,1,1 index=10,11,12,13,14

Problem

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.

Original source