Recording level meter for /dev/dsp
Here is some code that I wrote for monitoring the recording level
to check for clipping under linux. Since I haven't really made
an app out of either of these, I'm posting my code in hopes that
someone else has more motivation than I do.