Addition of audiopcm.h

I mentioned the header file in my blog post and then checked the code and it wasn't there.  I stripped our various copied definitions into the header file and include it in both main.c and audiopcm.c.