added recording (mostly the work is in portaudio)
compile i386-linux buffer-add.c