On Wed, 30 Mar 2005 12:55:31 +0200 (METDST)
Clemens Ladisch <clemens@email-addr-hidden> wrote:
:Record from device "hw:1" or "plughw:1". See
:/proc/asound/card1/stream0 for a list of supported sample formats.
Thank you for the help, but it appears that I am still missing something.
Entering "arecord -d 5 -f cd -t wav -D hw:1 test1.wav" creates a file
containing 10 seconds of silence (i.e. constant amplitude at zero
frequency).
Here is some diagnostic output associated with the recording attempt:
arecord -d 5 -f cd -t wav -D hw:1 test1.wav -v -v
Recording WAVE 'test1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Stereo Hardware PCM card 1 'USB Audio' 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
tick_time : 1000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 4096
xfer_align : 4096
start_threshold : 1
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Max peak (8192 samples): 00041 (0x0029) # 0%
Max peak (8192 samples): 00041 (0x0029) # 0%
Max peak (8192 samples): 00041 (0x0029) # 0%
Max peak (8192 samples): 00041 (0x0029) # 0%
Max peak (8192 samples): 00041 (0x0029) # 0%
. . .
cat /proc/asound/card1/stream0
USB Audio at usb-0000:00:11.0-1, full speed : USB Audio
Playback:
Interface 1
Altset 1
Format: S16_LE
Channels: 2
Endpoint: 1 OUT (ADAPTIVE)
Rates: 48000
Capture:
Status: Running
Interface = 2
Altset = 1
URBs = 5 [ 4 4 4 4 4 ]
Packet Size = 200
Momentary freq = 44100 Hz
Interface 2
Altset 1
Format: S16_LE
Channels: 2
Endpoint: 2 IN (ASYNC)
Rates: 48000, 44100
ll /dev/snd
total 0
crw------- 1 chuck root 116, 0 Mar 25 18:15 controlC0
crw------- 1 chuck root 116, 32 Mar 30 18:49 controlC1
crw------- 1 chuck root 116, 4 Mar 25 18:15 hwC0D0
crw------- 1 chuck root 116, 8 Mar 25 18:15 midiC0D0
crw------- 1 chuck root 116, 24 Mar 25 18:15 pcmC0D0c
crw------- 1 chuck root 116, 16 Mar 25 18:15 pcmC0D0p
crw------- 1 chuck root 116, 56 Mar 30 18:49 pcmC1D0c
crw------- 1 chuck root 116, 48 Mar 30 18:49 pcmC1D0p
crw------- 1 chuck root 116, 33 Mar 25 18:15 timer
Received on Fri Apr 1 04:15:06 2005
This archive was generated by hypermail 2.1.8 : Fri Apr 01 2005 - 04:15:07 EEST