Waveform Audio Messages (Compact 2013)

3/26/2014

Wave application programming interface (API) messages fall into two categories: window messages and callback function messages. The following table shows these messages.

Message

Description

MM_WIM_CLOSE

Sent to a window when a waveform-audio input device is closed.

MM_WIM_DATA

Sent to a window when waveform-audio data is present in the input buffer and the buffer is being returned to the application.

MM_WIM_OPEN

Sent to a window when a waveform-audio input device is opened.

MM_WOM_ATTENUATED

Indicates that an audio stream is controlled by an audio gain class.

MM_WOM_CLOSE

Sent to a window when a waveform-audio output device is closed.

MM_WOM_DONE

Sent to a window when the given output buffer is being returned to the application.

MM_WOM_OPEN

Sent to a window when the given waveform-audio output device is opened.

WIM_CLOSE

Sent to the given waveInProc callback function when a waveform-audio input device is closed.

WIM_DATA

Sent to the given waveInProc callback function when waveform-audio data is present in the input buffer and the buffer is being returned to the application.

WIM_OPEN

Sent to a waveInProc callback function when a waveform-audio input device is opened.

WOM_CLOSE

Sent to a waveOutProc callback function when a waveform-audio output device is closed.

WOM_DONE

Sent to a waveOutProc callback function when the given output buffer is being returned to the application.

WOM_OPEN

Sent to a waveOutProc callback function when a waveform-audio output device is opened.

See Also

Reference

Waveform Audio Reference

Other Resources

Waveform Audio