About Alsa arecord
Hello!
There have 2 stereo ADCs support one stereo microphone and one legacy mixer recording simultaneously, said in the document of ALC888 Datasheet .I inputed 1KHz sine wave into every pins (Line1-R,Line1-L,MIC1-R,MIC1_L,MIC2-R,MIC2-L,LINE2-R,LINE2-L) of ALC888 by signal genrator,and used command 'arecord -c 4 -f S16_LE -r 44100 >test.wav' recording in fedora14.but ALL audio data are recorded in channel 1,2.No any data in channel 3,4.Why?How can I record every pins audio data in each channel?
Thank you!Best regards.
Quoted 2 lines
Hello!
There have 2 stereo ADCs support one stereo microphone and one
legacy mixer recording simultaneously, said in the document of ALC888 Datasheet .I inputed 1KHz sine wave into every pins (Line1-R,Line1-L,MIC1-R,MIC1_L,MIC2-R,MIC2-L,LINE2-R,LINE2-L) of ALC888 by signal genrator,and used command 'arecord -c 4 -f S16_LE -r 44100
Quoted 1 line
test.wav' recording in fedora14.but ALL audio data are recorded in channel
1,2.No any data in channel 3,4.Why?How can I record every pins audio data in each channel?
In alc_auto_create_input_ctls , add the connection from node 0x0b of mixer ADC as input source similar to those pin complex
Those Mic/line/CD playback volume and switches of node 0x0b affect the signal of the new input source ”mixer”
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): CAN8cciZ7J2OVQA+VweckMbPBqcfjy8NQqEdxUk-j=mceCHzYYg@mail.gmail.com
Quoted 2 lines
Good morning!
Are you saying I should modify the source code of
alsa-driver-1.0.25?
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Hello!
There have 2 stereo ADCs support one stereo microphone and one
legacy mixer recording simultaneously, said in the document of ALC888 Datasheet .I inputed 1KHz sine wave into every pins (Line1-R,Line1-L,MIC1-R,MIC1_L,MIC2-R,MIC2-L,LINE2-R,LINE2-L) of ALC888 by signal genrator,and used command 'arecord -c 4 -f S16_LE -r 44100
Quoted 1 line
test.wav' recording in fedora14.but ALL audio data are recorded in channel
1,2.No any data in channel 3,4.Why?How can I record every pins audio data in each channel?
Quoted 2 lines
Quoted 2 lines
In
alc_auto_create_input_ctls, add the connection from node0x0bof
mixer ADC as input source similar to those pin complex
Quoted 2 lines
Quoted 2 lines
Those Mic/line/CD playback volume and switches of node
0x0baffect the
signal of the new input source ”mixer”
Quoted 2 lines
Yes, also need a switch which mute the input from 0x0b for all output jacks to prevent feedback if using mic
the current hda driver only support stereo capture and you have to implement multi channel capturing similar to multi channel playback in hda_codec.c
snd_hda_multi_in_analog_prepare
for (i = 1; i < num_adcs; i++) {
snd_hda_codec_setup_stream(codec, adc_nids[i],stream_tag, i * 2, format);
or
try multi plugin of two stereo capture devices
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel