After opening a waveform output device, you can begin sending data blocks to the device. Before sending data blocks to the device, each data block must be prepared. Use the following functions to prepare data blocks and send them to a waveform output device:
waveOutPrepareHeader
Informs the waveform output device driver that the given data block should be prepared for playback.
waveOutWrite
Writes a data block to a waveform output device.
waveOutUnprepareHeader
Informs the waveform output device driver that the preparation performed on the given data block can be cleaned up.