7

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.

amustafa
  • 858
  • 1
  • 7
  • 17

1 Answers1

12

This creates five loopback cards:

options snd-aloop enable=1,1,1,1,1 index=10,11,12,13,14
CL.
  • 173,858
  • 17
  • 217
  • 259
  • 3
    for those like me confused about the lack of an 'options' command, you need to write this line in /etc/modprobe.d/alsa-base.conf – Kazami Jun 11 '20 at 13:07