So I've been recording audio from my soundcard using arecord. Have the alsa all set right. I can record stuff. Can play back. No problems there. I use arecord (part of alsa so already included in the distro) to record. I like arecord because it is a simple command line program and I can tell it which sound card to record from. The problem is that if I record for more than ten minutes or so I often get buffer overuns. My goal is to record over 45 minutes of audio without breaks. The overruns make this not possible. I can do this in windows from the same soundcard so I know that my hardware is up to it. I have experimented with the command line parameters in arecord to use a larger buffer for the sound but this seems to have no effect (or I'm doing it wrong).
Most recent attempts used this command line:
arecord --buffer-time=500000 -D plughw:1,0 -t wav -c 2 -f S32_LE -r 44100 some_file.wav
In the above example I am recording a 32-bit stereo wave file at 44100 Hz. The card is 24 bit but some trial and error has revealed that arecord seems to prefer to deal with 24 bit data as if it were 32 bit data. The buffer_time is (according to the arecord man page) in "microseconds". I looked that up and found that a microsecond is a millionth of a second. So my 500000 should
be a half second of audio buffering.
Again, recording "works", the wav files contain the valid audio, just with skips/breaks caused by the buffer overruns.
Let's see what other info can I give ... oh yeah: slackare 11 using the prebuilt "huge 2.6" kernel.
So to the acutal specific quesions
Question 1) what parameters can I give to arecord to have it not have buffer overruns when recording 45+ minutes of 24bit/32bit audio?
Question 2) Is there some other software (hopefully lean and simple CLI that can record 45+ of 24bit/32bit audio without overruns? (I would really prefer to use arecord though)