Windows Audio playback sample code (waveInOpen, waveInWrite)