Update audio.c

Remove config.h and move function to makefile...