deloptes wrote on 10/27/2016 12:32 AM: > > It is very simple
I am glad to hear it. > > 1) find out the input > > shell> cat /proc/asound/devices ---- n7dr@shack:~$ cat /proc/asound/devices 2: [ 0] : control 3: [ 0- 0]: digital audio playback 4: [ 0- 0]: digital audio capture 5: [ 0- 1]: digital audio playback 33: : timer n7dr@shack:~$ ---- > > => my input is the capture on the second card > > 88: [ 2- 0]: digital audio capture So presumably the equivalent on my system is: 4: [ 0- 0]: digital audio capture > > 2) so no we can test the input > > shell> arecord -c2 -Dplughw:2,0 -f cd -vv /dev/null This is essentially how I have been trying to record, and it just creates silence. Specifically, I just tried: ---- n7dr@shack:~$ arecord -c2 -Dplughw:0,0 -f cd -vv foo.wav Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Plug PCM: Hardware PCM card 0 'ATI IXP' device 0 subdevice 0 Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 92879 tstamp_mode : NONE period_step : 1 avail_min : 4096 period_event : 0 start_threshold : 1 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 1073741824 appl_ptr : 0 hw_ptr : 0 ---- That creates foo.wav. And when I play foo.wav, it just plays silence. (I did remember to make sure that audio was being played on the line-in line :-).) > > You are looking at PulseAudio, not at ALSA mixer > I don't understand that statement. Quoting my e-mail: > alsamixer looks like this when viewing the Capture item: > > > ───────────────────── AlsaMixer v1.0.28 ─────────────────────┐ That output states that it is from alsamixer. (Unfortunately, alsamixer clears the screen so that the name of the command isn't visible; but I assure you that what I typed was "alsamixer" (with no parameters).) I know that the output from "alsamixer" says "Pulseaudio"; I have no idea why it says that. But I was definitely looking at ALSA mixer. > Try alsamixer -c0 and check the input section > Hmmm. I see this: https://dl.dropboxusercontent.com/u/18494055/audio/alsamixer-1.png which doesn't mean much to me (that is, I don't know whether it looks reasonable). Doc -- Web: http://www.sff.net/people/N7DR
signature.asc
Description: OpenPGP digital signature