I have been working on this for several days,and I still can’t figure it out.
This is what I want to do:
I have a sound card M-Audio Delta 1010LT,it has 8 analog ins,I want to write a program that can record sound from this 8 analog ins separately and save them in 8 different files or buffers.
my suse vision is:SUSE Linux Enterprise Server 11 (i586),and I installed alsa 1.0.24,the most important is I have two soundcards in my computer like this:
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfe938000 irq 16
1 [M1010LT ]: ICE1712 - M Audio Delta 1010LT
M Audio Delta 1010LT at 0xec80, irq 16
This is my problem:
1.Is it possible the alsa API can do what I want to do? I mean to record 8 channels at the same time.
2.I noticed that alsa API snd_pcm_open(&pcm_handle, pcm_name, stream, 0) needs pcm_name,how could I tell it which channel to choose,hw:1,0 ?Do I need a asound.conf of ~.asoundrc for configuration?
3.I don’t know whether I can open 8 channels at the same time,if I can solve the up 2 problems I’ll try it.