Waveform Audio Reference

This section describes the functions, structures, and messages associated with waveform audio. These elements are grouped as follows.

Auxiliary Devices

AUXCAPS
auxGetDevCaps
auxGetNumDevs
auxGetVolume
auxOutMessage
auxSetVolume

Easy Playback

PlaySound
sndPlaySound

Errors

waveInGetErrorText
waveOutGetErrorText

Opening and Closing

PCMWAVEFORMAT
MM_WIM_CLOSE
MM_WIM_OPEN
MM_WOM_CLOSE
MM_WOM_OPEN
WAVEFORMAT
WAVEFORMATEX
waveInClose
waveInProc
waveInOpen
waveOutClose
waveOutProc
waveOutOpen
WIM_CLOSE
WIM_OPEN
WOM_CLOSE
WOM_OPEN

Pitch

waveOutGetPitch
waveOutSetPitch

Playback Rate

waveOutGetPlaybackRate
waveOutSetPlaybackRate

Playback Progress

MM_WOM_DONE
waveOutBreakLoop
waveOutPause
waveOutReset
waveOutRestart
WOM_DONE

Playing

MM_WOM_DONE
WAVEHDR
waveOutPrepareHeader
waveOutUnprepareHeader
waveOutWrite
WOM_DONE

Querying a Device

WAVEINCAPS
waveInGetDevCaps
waveInGetNumDevs
WAVEOUTCAPS
waveOutGetDevCaps
waveOutGetNumDevs

Recording

MM_WIM_DATA
waveInAddBuffer
waveInPrepareHeader
waveInReset
waveInStart
waveInStop
waveInUnprepareHeader
WIM_DATA

Retrieving Device Identifiers

waveInGetID
waveOutGetID

Retrieving the Current Position

waveInGetPosition
waveOutGetPosition

Sending Custom Messages

waveInMessage
waveOutMessage

Volume

waveOutGetVolume
waveOutSetVolume