Here is the most optimized way to create three devices without mixing of
all 10 channels which your hardware (ICE1712) has:
pcm.dmixer12 {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 6553
rate 44100 # set to your source rate
}
bindings.0 0
bindings.1 1
}
pcm.dmixer34 {
type dmix
ipc_key 1024 # must be same as for dmixer12
slave { # all parameters in this section must be same as for dmixer12
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 6553
rate 44100
}
bindings.0 2
bindings.1 3
}
pcm.channel12 {
type plug
slave.pcm "dmixer12"
}
pcm.channel34 {
type plug
slave.pcm "dmixer34"
}
The channel56 and dmixer56 is identical with channel34/dmixer34 (simply
replace appropriate numbers).
Explanation: The specified bindings also REDUCES the used channels (only
destination channels are mixed). It's great speedup for your hardware.
Also, note that if you don't want mix sources, you may replace 'plug dmix'
with 'plug dshare'. It is also very good optimization.
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
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