Re: PROBLEM: SIS7019 stops recording after 42 min

From: Hans Schou
Date: Mon Jun 21 2010 - 16:10:47 EST


2010/6/21 Hans Schou <linux@xxxxxxxx>:

> I have just started:
>  arecord -B 1000000 -F 500000 -c 1 -r 44100 -f S16 -M -D hw:0,0 -v arec.wav

It gave a file size of 258822944 bytes. Almost 50 min:
echo "258822944/(2*60*44100)" | bc -ql
48.90

This is the longest recording I have made on this hardware.

I have this running now:
+ arecord -B 200000 -F 100000 -c 1 -r 44100 -f S16 -M -D hw:0,0 -v arec.wav
Recording WAVE 'arec.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
Hardware PCM card 0 'SiS7019' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 8820
period_size : 4410
period_time : 100000
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 4410
xfer_align : 4410
start_threshold : 1
stop_threshold : 8820
silence_threshold: 0
silence_size : 0
boundary : 1244678400

and no overrun within 2 min.

/hans
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/