Hi

I have special needs with 2 different sound cards
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
02:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
I include my .asoudrc at the end.

I want to do the following, but I'm still fighting to get better control handling
on the volume.

I want to be able to play sound on each of them separately, and also sometime using
both cards simultaneously, with aplay and xmms.

Single card work fine, when I use the "mplug" pcm, it does work but !!!
I have to control the volume for each source separately, with alsamixer/amixer, and
I have no way to do that with xmms, I could only control a single card.

I try the softvol, but it doesn't work.

My question are.
Any way to configure a ctl, where I could with a single command control
both cards via amixer, and that I  could use inside xmms.


Thank You






pcm.ich5 {
  type hw
  card 0
}
ctl.ich5 {
  type hw
  card 0
}

pcm.emu10k1 {
  type hw
  card 1
}
ctl.emu10k1 {
  type hw
  card 1
}

#from http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php?module=Generic
# create a virtual four-channel device with two sound devices:
# This is in fact two interleaved stereo streams

pcm.multi {
       type multi
       slaves.a.pcm "hw:0,0";
       slaves.a.channels 2;
       slaves.b.pcm "hw:1,0";
       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;
}

#
## get this one from http://article.gmane.org/gmane.linux.alsa.devel/5105/match=pcm+multi
pcm.mplug{
       type plug
       slave.pcm "multi"
}


Reply via email to