我正在使用 ALSA 模块 snd_aloop,以便能够将我的 ALSA DJ 软件的输出广播到网络(即 facebook live、Zoom),我通过 modprobe 加载它。它运行得很好。我可以在这个环回和我的内置麦克风之间切换,效果很好。
但是我有一个恼人的问题:我的硬件声卡和虚拟环回声卡都显示为“内部音频立体声模拟”(在我的法国系统上为“Audio interne Stéréo Analogique”)。
它们在 ubuntu 声音首选项、pavucontrol 以及应用程序/浏览器音频选择器中共享相同的名称。
我想以不同的方式调用 snd_aloop 源和接收器,即“Loopback”,这样我就可以区分它们,而不是每次都进行反复试验。
我研究了有关 Alsa 和 Pulse 的非常有趣的详细文档,做了一些“pacmd update-source-proplist”,但无法设法更改 snd_aloop 的名称。
有人能帮助我吗?
非常感谢
为了澄清起见,这里是我的列表接收器输出:我希望最后一个 device.description =“Audio interne Stéréo analogique”显示一些不同的东西
jmj@jmj-yoga2:~$ pacmd list-sinks | grep -e name -e description
name: <alsa_output.pci-0000_00_03.0.hdmi-surround71>
alsa.name = "HDMI 0"
alsa.subdevice_name = "subdevice #0"
alsa.card_name = "HDA Intel HDMI"
alsa.long_card_name = "HDA Intel HDMI at 0xb0518000 irq 16"
alsa.driver_name = "snd_hda_intel"
device.vendor.name = "Intel Corporation"
device.product.name = "Haswell-ULT HD Audio Controller"
device.profile.name = "hdmi-surround71"
device.profile.description = "Digital Surround 7.1 (HDMI)"
device.description = "Audio interne Digital Surround 7.1 (HDMI)"
alsa.mixer_name = "Intel Haswell HDMI"
device.icon_name = "audio-card-pci"
device.icon_name = "video-display"
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
alsa.name = "ALC3239 Analog"
alsa.subdevice_name = "subdevice #0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xb051c000 irq 22"
alsa.driver_name = "snd_hda_intel"
device.vendor.name = "Intel Corporation"
device.product.name = "8 Series HD Audio Controller"
device.profile.name = "analog-stereo"
device.profile.description = "Stéréo analogique"
device.description = "Audio interne Stéréo analogique"
alsa.mixer_name = "Realtek ALC3239"
device.icon_name = "audio-card-pci"
device.icon_name = "audio-speakers"
device.icon_name = "audio-headphones"
name: <alsa_output.platform-snd_aloop.0.analog-stereo>
alsa.name = "Loopback PCM"
alsa.subdevice_name = "subdevice #0"
alsa.card_name = "Loopback"
alsa.long_card_name = "Loopback 1"
alsa.driver_name = "snd_aloop"
device.profile.name = "analog-stereo"
device.profile.description = "Stéréo analogique"
device.description = "Audio interne Stéréo analogique"
alsa.mixer_name = "Loopback Mixer"
device.icon_name = "audio-card"
问候