[Alsa-user] options snd-pcm-oss dsp_map - how does it work?
Brought to you by:
perex
From: karsten <ka...@je...> - 2005-05-07 05:14:43
|
Ok - another basic question..... MythTv can only select between /dev/dsp and /dev/dsp1 for audio capture. My WinTV audio capture is on card1 Is it correct that: - card1 can only be mapped to /dev/dsp1 and /dev/adsp1 I did it this way (is that correct? ): options snd-pcm-oss dsp_map=1,1 options snd-pcm-oss adsp_map=1,0 I swapped the subdevices because I think 1,1 is the analog capture. Karsten dump of misc info files: [root@i196 ~]# cat /proc/asound/cards 0 [V8235 ]: VIA8233 - VIA 8235 VIA 8235 with VIA1612A at 0xe000, irq 10 1 [Bt878 ]: Bt87x - Brooktree Bt878 Brooktree Bt878 at 0xdb003000, irq 10 [root@i196 ~]# cat /proc/asound/modules 0 snd_via82xx 1 snd_bt87x [root@i196 ~]# cat /proc/asound/devices 17: [0- 1]: digital audio playback 25: [0- 1]: digital audio capture 16: [0- 0]: digital audio playback 24: [0- 0]: digital audio capture 0: [0- 0]: ctl 33: : timer 57: [1- 1]: digital audio capture 56: [1- 0]: digital audio capture 32: [1- 0]: ctl [root@i196 ~]# cat /proc/asound/pcm 00-00: VIA 8235 : VIA 8235 : playback 4 : capture 1 00-01: VIA 8235 : VIA 8235 : playback 1 : capture 1 01-00: Bt87x Digital : Bt87x Digital : capture 1 01-01: Bt87x Analog : Bt87x Analog : capture 1 [root@i196 ~]# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: V8235 [VIA 8235], device 0: VIA 8235 [VIA 8235] Subdevices: 4/4 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 card 0: V8235 [VIA 8235], device 1: VIA 8235 [VIA 8235] Subdevices: 1/1 Subdevice #0: subdevice #0 |