In my quest to record from the different channels of the Delta 1010LT
have come so far that I can address the different hardware inputs using
ALSA device names, while using an appropriate /etc/asound.conf file.
e.g. I can
arecord -f cd -d 5 -D channel2 test.wav
and this would record from hardware input channel #2. I have four stereo
input channels, e.g channel1 ... channel4, plus the spdif channel. So
far, so good.
Now I would need a way to map these channels to OSS /dev/dsp interfaces.
something like:
/dev/dsp1 -> channel1
/dev/dsp2 -> channel2
/dev/dsp3 -> channel3
/dev/dsp4 -> channel4
I understand that I would need to use the kernel module snd-pcm-oss to
achieve this. how can I tell this module to map to the appropriate ALSA
devices?
BTW, the contents of this asound.conf file is:
pcm.ice1712 {
type hw
card 0
device 0
}
# adcdac 1&2
pcm.channel1 {
type plug
ttable.0.0 1
ttable.1.1 1
slave.pcm ice1712
}
# adcdac 3&4
pcm.channel2 {
type plug
ttable.0.2 1
ttable.1.3 1
slave.pcm ice1712
}
#adcdac 5&6
pcm.channel3 {
type plug
ttable.0.4 1
ttable.1.5 1
slave.pcm ice1712
}
# adcdac 7&8
pcm.channel4 {
type plug
ttable.0.6 1
ttable.1.7 1
slave.pcm ice1712
}
#SPDIF channels only
pcm.ice1712_spdif {
type plug
ttable.0.8 1
ttable.1.9 1
slave.pcm ice1712
}