[linux-audio-user] arecord question

Florian Schmidt mista.tapas at gmx.net
Mon Jun 28 08:04:02 EDT 2004


On Mon, 28 Jun 2004 04:12:03 -0500
wes schreiner <wes at infosink.com> wrote:

> hansfong at zonnet.nl wrote:
> 
> >Does anybody know how to override the -d switch used with arecord? I simply 
> >want to start recording and exit when I want with ctrl+c. For now I have to 
> >estimate the time I want to record and that is not always possible, hence 
> >very difficult to set the -d switch.
> >
> >Greetings,
> >
> >Hans
> >  
> >
> 
> Well, arecord seems to do the right thing if one just sets -d longer 
> than one expects to record, then hits Ctrl+C to stop.  And by the right 
> thing, I mean that if arecord needs to write a header, such as for a 
> WAVE file, then it does indeed write the correct header before exiting.  
> Doesn't it work that way for you?
> 
> wes
> 

i just use arecord -f cd -Dplughw:0,0 file.wav, and i can crtl-c it when i need it.. where's the problem?

flo


-- 
Palimm Palimm!
http://affenbande.org/~tapas/wiki




More information about the Linux-audio-user mailing list