fix play completion judgement issue in waveOutProc.