Tuned play callback a bit and corrected some things
Changed comments to C-style /* from // and made this work in older versions of pulseaudio
Made compile with ANSI C standard and with All warnings on
Tuned to compile with C99 standard (which seems to lowest of Pulseaudio and hey it's 2014 anyway) and with -Wall to fix unused variables