최근에 테스트를 위해 Debian을 설치했고 Xfce를 데스크탑 환경으로 사용하고 있습니다. 마더보드에 내장된 Realtek 사운드 카드를 사용하고 있습니다.
Windows에서 또는 GNOME과 함께 Debian을 사용할 때 디지털과 아날로그 출력(S/PDIF 및 헤드폰) 사이를 쉽게 전환할 수 있지만 지금까지는 pavucontrol
.
이것디지털 스테레오(IEC958) 출력구성 파일에는 하나의 포트만 표시됩니다.디지털 출력(S/PDIF). 이것아날로그 스테레오 출력구성 파일에는 두 개의 포트가 표시됩니다.라인 출력(연결되지 않음)그리고헤드폰(연결됨).
헤드폰과 S/PDIF 포트를 하나의 프로필에 배치할 수 있는 방법이 있습니까? 아니면 펄스 오디오가 작동하는 방식입니까?
관련 부분은 다음과 같습니다 pacmd list-cards
.
index: 1
name: <alsa_card.pci-0000_00_1b.0>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7130000 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "8c20"
device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (priority 6055, available: unknown)
output:analog-surround-21: Analog Surround 2.1 Output (priority 800, available: no)
output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 860, available: unknown)
output:analog-surround-21+input:iec958-stereo: Analog Surround 2.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: no)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
output:analog-surround-41: Analog Surround 4.1 Output (priority 800, available: no)
output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860, available: unknown)
output:analog-surround-41+input:iec958-stereo: Analog Surround 4.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
output:analog-surround-50: Analog Surround 5.0 Output (priority 700, available: no)
output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760, available: unknown)
output:analog-surround-50+input:iec958-stereo: Analog Surround 5.0 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
output:analog-surround-51: Analog Surround 5.1 Output (priority 800, available: no)
output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860, available: unknown)
output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:iec958-stereo>
sinks:
alsa_output.pci-0000_00_1b.0.iec958-stereo/#36: Built-in Audio Digital Stereo (IEC958)
sources:
alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor/#46: Monitor of Built-in Audio Digital Stereo (IEC958)
ports:
analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-input-microphone"
analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
properties:
iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:
analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
properties:
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-headphones"
iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:
답변1
이 문제에 대한 해결책을 찾는 다른 사람들에게는 이것이 나에게 도움이 되었습니다.
그것을 열고 /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
다음을 추가하세요:
[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
description = Digital Stereo (IEC958) Output + Analog Stereo Duplex
output-mappings = analog-stereo iec958-stereo
input-mappings = analog-stereo
그러면 아날로그 스테레오 입력+출력 및 디지털 스테레오 출력이 포함된 프로필이 생성됩니다.
변경 사항을 적용하려면 PulseAudio 데몬을 다시 시작하세요.
pulseaudio --kill
pulseaudio --start
이제 pavucontrol에서 새 프로필을 사용하고 두 출력을 동시에 사용할 수 있는 기능을 볼 수 있습니다.