我使用cmds:
/sbin/modprobe snd-dummy
aplay -l
只显示一个虚拟声卡:
**** List of PLAYBACK Hardware Devices ****
card 0: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
有没有办法设置2~4个虚拟声卡?
答案 0 :(得分:0)
好的,我找到了方法:
/sbin/modprobe snd-dummy pcm_devs=4
它将添加4个开发