parecord, please add duration option
Please add a "duration" flag to parecord
so that I can get the same functionality as arecord
. Also see the arecord "samples" flag which allows the recording duration to be specified in samples.
Also please fix this very confusing section in "parecord(1)":
--process-time=BYTES
Explicitly configure the process time, with a time
specified in bytes in the selected sample format. If
left out the server will pick the process time. Use
either this option or --process-time- msec, but not
both.
--process-time-msec=MSEC
Explicitly configure the process time, with a time
specified in miliseconds. If left out the server will
pick the process time. Use either this option or
--process-time, but not both.
In these lines, there are 8 occurrences of the term "process time", so it should probably be defined for the reader. Googling 'pulseaudio "process time"' takes me to this manual page, so it would actually be a great place to put the definition of the term. I would change the above lines to:
--process-time=BYTES
--process-time-msec=MSEC
Explicitly configure the process time in bytes or
milliseconds. The "process time" is [....]. By default the
server will pick the process time.
where '[....]' is replaced with the correct definition of the term (I still have no idea what it is).
Thanks.