Hi,
I'm trying to duplicate audio output to 2 cards.
One card is intel HDA with VIA VT1708S codec and another
is USB-Audio - Microsoft LifeChat LX-3000.
(alsa driver 1.0.23)
Following some examples in alsa wiki I created .asoundrc:
=======
pcm.!default plug:both
ctl.!default {
type hw
card Intel
}
pcm.both {
type route
slave.pcm {
type multi
slaves.a.pcm HDA
slaves.a.channels 2
slaves.b.pcm lifechat
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
}
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
}
ctl.both {
type hw
card "Intel"
}
pcm.lifechat {
type hw
card default
}
pcm.HDA {
type hw
card Intel
}
ctl.lifechat {
type hw
card default
}
ctl.HDA {
type hw
card Intel
}
======
It does not work, I'm getting the message:
aplay -vD both <some_wave_file>
aplay: set_params:1059: Channels count non available
/proc/asound/pcm contains the following:
00-00: VT1708S Analog : VT1708S Analog : playback 2 : capture 2
00-01: VT1708S Digital : VT1708S Digital : playback 1
01-00: USB Audio : USB Audio : playback 1 : capture 1
I found out that if I change the bindings like that:
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave b
bindings.1.channel 0
it starts working, but the sound is only heard from left channels of both cards.
I definitely misunderstand "client channel" / "slave channel".
Could someone please explain how I should define channels or refer me to some
clear explanation?
(I did check http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html,
but still miss something).
Thank you in advance,
--
Mark Goldstein
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user