Update WavePlayer.cpp