Plotting real-time data using qwt

I want to plot data in real-time on the Beagle. For example, bring in audio from the line-in, plot it, take the fft, plot it, etc. qwt [1] has been suggest as a good way to do it. Here [2] are my notes on how I got it running on the Beagle.

Now that I have the examples running I have to figure out how to hook it up to alsa.