Simple Record and Play program implemented by C in Linux (Ubuntu 12.04)
the code is used as example for learn WPI CS529 class
it use the ALSA driver for sound device.
for compile the code, run makefile:
make -f Makefile
the record func is record voice and keep it into sound.raw
and play func can read the sound.raw file and play the sound.
have fun!!!!!!!!!