2011-01-27, 00:53
I finally got my receiver and speakers setup but for watching TV I usually just turn on my TV. However constantly flipping between HDMI out and Digital Out sucked. The "dual audio out" doesn't look like it's going to get merged any time soon so... I went digging through ALSA tutorials.
So I just told ALSA to dump to both sinks and I'll choose via volume control which one I want.
Analog: Custom
Custom: both2
My asound.conf
hw0,1 is my SPDIF out.
hw1,3 is my GT220 HDMI out.
So I just told ALSA to dump to both sinks and I'll choose via volume control which one I want.
Analog: Custom
Custom: both2
My asound.conf
Code:
pcm.multi2 {
type multi
slaves.a.pcm "hw:0,1"
slaves.a.channels 2
slaves.b.pcm "hw:1,3"
slaves.b.channels 2
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}
pcm.both2 {
type route
slave.pcm "multi2"
slave.channels 4
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
}
hw0,1 is my SPDIF out.
hw1,3 is my GT220 HDMI out.