Quoting Udo van den Heuvel <[EMAIL PROTECTED]>:
>> I am not sure how to make arecord record my different lines. I have
>> found and .asoundrc for selecting output but I am not sure about input.
>
> If the default ice1712 config is broken it needs fixing.
>
> Who can help here?
Hi,
OK I played with .asoundrc (quicker than trying to understand the docs).
I can now record/playback on any lines. It appears that
record/playback use the same entries in the .asoundrc ? The ttable
maps input channels onto output channels.Here is what I have got in
.asoundrc . I had to modify the examples in the alsa docs changing some
ttable.0 to ttable.1 to get stereo.
#
# allows you to play/record stereo to/from ice1712
# using various stereo pairs
#
#
# arecord -c2 -f cd -D 7/8 slug.wav
#
# aplay -D 3/4 slug.wav
#
pcm.ice1712 {
type hw
card 0
device 0
}
pcm.1/2 {
type plug
ttable.0.0 1
ttable.1.1 1
slave.pcm ice1712
}
pcm.3/4 {
type plug
ttable.0.2 1
ttable.1.3 1
slave.pcm ice1712
}
pcm.5/6 {
type plug
ttable.0.4 1
ttable.1.5 1
slave.pcm ice1712
}
pcm.7/8 {
type plug
ttable.0.6 1 # headphone 1...Delta 7
ttable.1.7 1 # headphone 2...Delta 8
slave.pcm ice1712
}
# NOT TESTED
pcm.dig {
type plug
ttable.0.8 1 # S/PDIF left...Delta 9
ttable.1.9 1 # S/PDIF right...Delta 10
slave.pcm ice1712
}
# NOT TESTED
pcm.mon_mix {
type plug
ttable.0.10 1 # digital mix left
ttable.1.11 1 # digital mix right
slave.pcm ice1712
}
You could try
arecord -v -f cd -D dig test.wav
cheers Paul
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user