[LAU] Output to 2 sound cards simultaneously

From: Mark Constable <markc@email-addr-hidden>
Date: Fri Sep 28 2007 - 05:37:21 EEST

I've read this a couple of times over the years but it still
does not make much sense (to me)...

 http://alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html

As a baseline, say I started with this, where could I go
from here to get an app (ie; Amarok) to play back out two
soundcards at once ?

# cat .asoundrc
pcm.NVidia { type hw; card NVidia; }
ctl.NVidia { type hw; card NVidia; }

pcm.USX2Y { type hw; card USX2Y; }
ctl.USX2Y { type hw; card USX2Y; }

pcm.shared {
  type dshare
  ipc_key 321456 # any unique value
  ipc_key_add_uid true
  slave NVidia
  slave USX2Y
  bindings {
    0 0
    1 1
  }
}

--markc
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user
Received on Fri Sep 28 08:15:02 2007

This archive was generated by hypermail 2.1.8 : Fri Sep 28 2007 - 08:15:02 EEST