Debian SID, Kernel 2.6.5 Alsa 1.04, OSS-emulation, ice1712 as card0, via82xx as card1
I'd like to record from the dsp devices input from Omni i/o's "HW in 3+4" only which I can hear perfectly. In a previous posting it was mentioned there has been a discussion on this task before but I couldn't find it.
Do I have to change .asoundrc or is it about proper arecord input? Is it possible to record these two channels only at all, and perhaps even through a dsp device? Any help much appreciated.
Greetings, A.v. Heydwolff
--
For the cards 0 and 1 I wrote
alias /dev/dsp0 snd-pcm-oss and alias /dev/dsp1 snd-pcm-oss repectively
---------------
My .asoundrc:
pcm.ice1712 { type hw card 0 }
ctl.ice1712 { type hw card 0 }
pcm.via82xx { type hw card 1 }
ctl.via82xx { type hw card 1 }
--------------- ~# arecord -l **** List of CAPTURE Hardware Devices **** card 0: M66 [M Audio Delta 66], device 0: ICE1712 multi [ICE1712 multi] Subdevices: 1/1 Subdevice #0: subdevice #0 **** List of CAPTURE Hardware Devices **** card 1: V8233Pre [VIA 8233-Pre], device 0: VIA 8233-Pre [VIA 8233-Pre] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: V8233Pre [VIA 8233-Pre], device 1: VIA 8233-Pre [VIA 8233-Pre] Subdevices: 1/1 Subdevice #0: subdevice #0
--------------- ~# arecord -L PCM list: hw { @args.0 CARD @args.1 DEV @args.2 SUBDEV @args.CARD { type string default { @func getenv vars { 0 ALSA_PCM_CARD 1 ALSA_CARD } default { @func refer name 'defaults.pcm.card' } } } @args.DEV { type integer default { @func igetenv vars { 0 ALSA_PCM_DEVICE } default { @func refer name 'defaults.pcm.device' } } } @args.SUBDEV { type integer default { @func refer name 'defaults.pcm.subdevice' } } type hw card $CARD device $DEV subdevice $SUBDEV } plughw { @args.0 CARD @args.1 DEV @args.2 SUBDEV @args.CARD { type string default { @func getenv vars { 0 ALSA_PCM_CARD 1 ALSA_CARD } default { @func refer name 'defaults.pcm.card' } } } @args.DEV { type integer default { @func igetenv vars { 0 ALSA_PCM_DEVICE } default { @func refer name 'defaults.pcm.device' } } } @args.SUBDEV { type integer default { @func refer name 'defaults.pcm.subdevice' } } type plug slave.pcm { type hw card $CARD device $DEV subdevice $SUBDEV } } plug { @args.0 SLAVE @args.SLAVE { type string } type plug slave.pcm $SLAVE } dmix { @args.0 SLAVE @args.1 FORMAT @args.2 RATE @args.SLAVE { type string default 'hw:0,0' } @args.FORMAT { type string default S16_LE } @args.RATE { type integer default 48000 } type dmix ipc_key 5678293 ipc_key_add_uid yes slave { pcm $SLAVE format $FORMAT rate $RATE } } dsnoop { @args.0 SLAVE @args.1 FORMAT @args.2 RATE @args.SLAVE { type string default 'hw:0,0' } @args.FORMAT { type string default S16_LE } @args.RATE { type integer default 48000 } type dsnoop ipc_key 5778293 ipc_key_add_uid yes slave { pcm $SLAVE format $FORMAT rate $RATE } } shm { @args.0 SOCKET @args.1 PCM @args.SOCKET { type string } @args.PCM { type string } type shm server $SOCKET pcm $PCM } tee { @args.0 SLAVE @args.1 FILE @args.2 FORMAT @args.SLAVE { type string } @args.FILE { type string } @args.FORMAT { type string default raw } type file slave.pcm $SLAVE file $FILE format $FORMAT } file { @args.0 FILE @args.1 FORMAT @args.FILE { type string } @args.FORMAT { type string default raw } type file slave.pcm null file $FILE format $FORMAT } null { type null } default { type plug slave.pcm { type hw card { @func getenv vars { 0 ALSA_PCM_CARD 1 ALSA_CARD } default { @func refer name 'defaults.pcm.card' } } device { @func igetenv vars { 0 ALSA_PCM_DEVICE } default { @func refer name 'defaults.pcm.device' } } subdevice { @func refer name 'defaults.pcm.subdevice' } } } cards 'cards.pcm' front 'cards.pcm.front' rear 'cards.pcm.rear' center_lfe 'cards.pcm.center_lfe' surround40 'cards.pcm.surround40' surround41 'cards.pcm.surround41' surround50 'cards.pcm.surround50' surround51 'cards.pcm.surround51' iec958 'cards.pcm.iec958' spdif 'cards.pcm.iec958' main { type hw card 0 device 0 } ice1712 { type dmix ipc_key 1024 slave { pcm 'hw:0,0' period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 } } room1 { type plug ttable.0.0 1 ttable.0.1 1 slave.pcm ice1712 } room2 { type plug ttable.0.2 1 ttable.0.3 1 slave.pcm ice1712 } room3 { type plug ttable.0.4 1 ttable.0.5 1 slave.pcm ice1712 } room4 { type plug ttable.0.6 1 ttable.0.7 1 slave.pcm ice1712 } room5_spdif { type plug ttable.0.8 1 ttable.1.9 1 slave.pcm ice1712 } hwout { type plug slave.pcm ice1712 }
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user