split out DEBUG_DWT and DEBUG_AUDIO code