[pulseaudio-tickets] [PulseAudio] #604: virtualized downmix to headphone stereo patch
PulseAudio
trac-noreply at tango.0pointer.de
Mon Jul 13 17:40:05 PDT 2009
#604: virtualized downmix to headphone stereo patch
---------------------+------------------------------------------------------
Reporter: Rudd-O | Owner: lennart
Type: defect | Status: new
Milestone: | Component: module-alsa-*
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment(by Rudd-O):
This is an updated vdownmix.conf ALSA configuration file, as per the
patch's comment:
------------------------------------------------------------------
pcm.!vdownmix51 {
@args [ CARD DEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_VDOWNMIX51_CARD
ALSA_PCM_CARD
ALSA_CARD
]
default {
@func refer
name defaults.pcm.vdownmix51.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_VDOWNMIX51_DEVICE
]
default {
@func refer
name defaults.pcm.vdownmix51.device
}
}
}
type vdownmix
slave.pcm {
@func refer
name {
@func concat
strings [
"cards."
{
@func card_driver
card $CARD
}
".pcm.vdownmix51." $DEV ":CARD=" $CARD
]
}
}
hint {
description "Downmix to stereo 5.1 Surround output to
Front, Center, Rear and Subwoofer speakers"
device $DEV
}
}
pcm.!vdownmix40 {
@args [ CARD DEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_VDOWNMIX40_CARD
ALSA_PCM_CARD
ALSA_CARD
]
default {
@func refer
name defaults.pcm.vdownmix40.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_VDOWNMIX40_DEVICE
]
default {
@func refer
name defaults.pcm.vdownmix40.device
}
}
}
type vdownmix
slave.pcm {
@func refer
name {
@func concat
strings [
"cards."
{
@func card_driver
card $CARD
}
".pcm.vdownmix40." $DEV ":CARD=" $CARD
]
}
}
hint {
description "Downmix to stereo 4.0 Surround output to
Front, Center, Rear and Subwoofer speakers"
device $DEV
}
}
------------------------------------------------------------------
Any ALSA device with support for stereo output will automatically gain
these "plug devices". You'll be able to virtualize surround sound output
to PA in even meager stereo cards!
--
Ticket URL: <http://pulseaudio.org/ticket/604#comment:1>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list