fixed DEBUGLOG preprocessor
added code to test playing wav sounds