Re: [Alsa-user] Problem with an ice1712 soundcard on recording
Brought to you by:
perex
From: <ee...@ba...> - 2006-10-28 13:47:37
|
Quoting Udo van den Heuvel <ud...@xs...>: >> 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=20 record/playback use the same entries in the .asoundrc ? The ttable=20 maps input channels onto output channels.Here is what I have got in=20 .asoundrc . I had to modify the examples in the alsa docs changing some=20 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 |