Как настроить pulseaudio для одновременного воспроизведения звуков на цифровом и аналоговом выходах одной звуковой карты?
Моя система OpenSuse 11.4 (со всеми установленными обновлениями). Команда " aplay -l " возвращает:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC887 Analog [ALC887 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC887 Digital [ALC887 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
и pacmd list-cards, возвращает:
~> pacmd
Welcome to PulseAudio! Use "help" for usage information.
>>> list-cards
1 card(s) available.
index: 0
name: <alsa_card.pci-0000_00_08.0>
driver: <module-alsa-card.c>
owner module: 4
properties:
alsa.card = "0"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xf9f78000 irq 20"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:08.0"
sysfs.path = "/devices/pci0000:00/0000:00:08.0/sound/card0"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "nVidia Corporation"
device.product.id = "0ac0"
device.product.name = "MCP79 High Definition Audio"
device.form_factor = "internal"
device.string = "0"
device.description = "WewnÄtrzny dĹşwiÄk"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:analog-stereo: Analogowe stereo Output (priority 6000)
output:analog-stereo+input:analog-stereo: Analogowy dupleks stereo (priority 6060)
output:iec958-stereo: Cyfrowy dupleks stereo (IEC958) (priority 5500)
output:iec958-stereo+input:analog-stereo: Cyfrowe stereo (IEC958) Output + Analogowe stereo Input (priority 5560)
output:hdmi-stereo: Cyfrowe stereo (HDMI) Output (priority 5400)
output:hdmi-stereo+input:analog-stereo: Cyfrowe stereo (HDMI) Output + Analogowe stereo Input (priority 5460)
input:analog-stereo: Analogowe stereo Input (priority 60)
off: WyĹÄ
cz (priority 0)
active profile: <output:analog-stereo>
sinks:
alsa_output.pci-0000_00_08.0.analog-stereo/#0: WewnÄtrzny dĹşwiÄk Analogowe stereo
sources:
alsa_output.pci-0000_00_08.0.analog-stereo.monitor/#0: Monitor of WewnÄtrzny dĹşwiÄk Analogowe stereo
>>>
Ранее (в OpenSuSE 11.3) я вообще не использовал pulseaudio и достиг желаемых результатов с помощью следующего файла /etc/asound.conf :
pcm.!default {
type plug
slave {
pcm multi
rate 48000
}
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
hint {
show on
description "Default digital and analog output"
}
}
pcm.dsp0 {
type plug
slave.pcm "multi"
}
pcm.dmixer {
type dmix
ipc_key 1234
slave {
pcm "hw:0,3"
period_time 0
period_size 1024
buffer_size 8192
#periods 128
rate 48000
}
bindings {
0 0
1 1
}
hint {
show on
description "PCM digital mixer"
}
}
ctl.dmixer {