Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following sections describe how the API is commonly used to play and record audio.

Recording Waveform Audio

The common order for calling Waveform Audio functions to record audio is:

  1. waveInOpen

  2. waveInPrepareHeader

  3. waveInAddBuffer

  4. waveInStart

  5. waveInUnprepareHeader

  6. waveInClose

Playing Waveform Audio

The common order for calling Waveform Audio functions to play audio is:

  1. waveOutOpen

  2. waveOutPrepareHeader

  3. waveOutWrite

  4. waveOutUnprepareHeader

  5. waveOutClose

See Also