Hi all,
I have the goal to get two Terratec EWS88MT cards running (for
recording 16 channels simultaniously) in my linux box.
As I haven't succeded yet, I would like to share some thoughts and
hope that others will gain something, too.
First of all I succeded in recording 8 channels from each card seperately.
I used the following .asoundrc
pcm.ice_a {
type plug
ttable.0.0 1
ttable.1.1 1
ttable.2.2 1
ttable.3.3 1
ttable.4.4 1
ttable.5.5 1
ttable.6.6 1
ttable.7.7 1
slave.pcm {
type hw
card 0
device 0
}
}
ctl.ice_a {
type hw
card 0
}
pcm.ice_b {
type plug
ttable.0.0 1
ttable.1.1 1
ttable.2.2 1
ttable.3.3 1
ttable.4.4 1
ttable.5.5 1
ttable.6.6 1
ttable.7.7 1
slave.pcm {
type hw
card 1
device 0
}
}
ctl.ice_b {
type hw
card 1
}
I recorded with
arecord -c 8 -D ice_a -r 16000 test.wav
This worked perfectly!
In the next step I wanted to combine those two pcms into a "multi" pcm
the following way:
pcm.ice_16 {
type multi;
slaves.a.pcm ice_a;
slaves.a.channels 8;
slaves.b.pcm ice_b;
slaves.b.channels 8;
bindings.0.slave a;
bindings.0.channel 0;
bindings.1.slave a;
bindings.1.channel 1;
bindings.2.slave a;
bindings.2.channel 2;
bindings.3.slave a;
bindings.3.channel 3;
bindings.4.slave a;
bindings.4.channel 4;
bindings.5.slave a;
bindings.5.channel 5;
bindings.6.slave a;
bindings.6.channel 6;
bindings.7.slave a;
bindings.7.channel 7;
bindings.8.slave b;
bindings.8.channel 0;
bindings.9.slave b;
bindings.9.channel 1;
bindings.10.slave b;
bindings.10.channel 2;
bindings.11.slave b;
bindings.11.channel 3;
bindings.12.slave b;
bindings.12.channel 4;
bindings.13.slave b;
bindings.13.channel 5;
bindings.14.slave b;
bindings.14.channel 6;
bindings.15.slave b;
bindings.15.channel 7;
master 0;
}
ctl.ice_16 {
type hw;
card 0;
}
But here
arecord -c 16 -D ice_16 -r 16000 test.wav
gave me the following error
arecord: pcm_mmap.c:119: snd_pcm_mmap_read_areas: Assertion
`snd_pcm_mmap_capture_avail(pcm) >= size' failed.
So I decided to try a setup similar to the rme hammerfall example in the
docu, but this gives me
arecord: set_params:736: Broken configuration for this PCM: no
configurations available
I'm not sure if this means something but there are only 2 capture devices
on that card under /proc/asound/card0 pcm0c and pcm1c. From what I read so
far I guess the hammer driver gives one for each channel (correct me if
I'm wrong!)
I hope someone is interested in this discussion, too.
cheers
Oliver Schrempf
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user