Hallo, Julien Claassen hat gesagt: // Julien Claassen wrote: > I have a delta 1010 and want to define pairs of outputs. I wanna take two > outputs and combine them into a stereo output. I already have a .asoundrc, but > it doesn't work for that purpose. My definitions in there work for recording > though. It looks something like that: > pcm.io1 { > type plug > slave { card 1 } > ttable.0.2 1 > ttable.1.3 1 > } > > I'm not sure about the ttable part. What I do is map channel 2 and 3 to 0 and > 1. Do I really need to map them? Can't I simply tell alsa to combine them > without ttable?
I *think* you need to use dshare for this. An untested asoundrc could look like below. This only defines the first two stereo pairs, the others should be obvious. The important point to note here is the usage of the "bindings" fields and the ipc_key, which must be unique, but the same for all pcm definitions of one card. This does not use ttable at all, probably because I don't understand how ttables work. ;) # start asoundrc: pcm.chan12 { type dshare ipc_key 3333 slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 0 1 1 } } ctl.chan12 { type hw; card 0; } pcm.chan34 { type dshare ipc_key 3333 slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 2 1 3 } } ctl.chan34 { type hw; card 0; } # End asoundrc ciao -- Frank Barknecht _ ______footils.org__ ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user