多亏了这个答案,我终于找到了解决方案,请参阅以下说明
在混合视频中始终显示HDMI输出我们将创建一个新的配置文件,将“模拟音频”和“ HDMI音频”这两个配置文件链接在一起。
From my understanding this file /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
list all mapping profiles between Alsa and Pulseaudio.
1.
Find the mapping that are related to your Analog profile
and HDMI profile
definition. (description: should match the Device Profiles shown in Audio Volume Kde setting module )
For me are the following:
[Mapping analog-stereo]
device-strings = front:%f
channel-map = left,right
paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-headphones analog-output-headphones-2
paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line analog-input-headphone-mic analog-input-headset-mic
priority = 10
[Mapping hdmi-stereo-extra1]
description = Digital Stereo (HDMI 2)
device-strings = hdmi:%f,1
paths-output = hdmi-output-1
channel-map = left,right
priority = 2
direction = output
2.
On the base of the above Mapping definition I have created the following new profile that group both the above ones:
[Profile output:analog-stereo+output:hdmi-stereo-extra1]
description = All
output-mappings = analog-stereo hdmi-stereo-extra1
input-mappings = analog-stereo
3.
Restart pulse audio with this command:
pulseaudio --kill; sleep 1; pulseaudio --start
4.
Go to KDE phonon settings > Audio Hardware setup and select the new profile.
Now you should see both profile in the mixed and so you'll be able to switch easy:
我建议使用这种等离子混合器:https://store.kde.org/p/1100894/
(额外步骤)强制同时启用两个输出
如果您不介意同时使用计算机扬声器和电视输出音频(因此基本上不必切换音频输出)。
您可以选择以下设置,然后在调音台中有一个新条目
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句