This is a small test program of alsa driver. I just hope its can be helpfull for you.