Waveform Audio Messages
A version of this page is also available for
4/8/2010
Wave application programming interface (API) messages fall into two categories: window messages and callback function messages. The following table shows these messages.
Programming element | Description |
---|---|
This message is used to query the preferred device, using the existing waveInMessage or waveOutMessage function to the WAVE_MAPPER device id. |
|
This message is sent through the waveInMessage or waveOutMessage function to set the preferred device ID of the device referenced by WAVE_MAPPER to a new value. |
|
Commands the driver to stop generating a MIDI note at a specified frequency. |
|
Commands the driver to begin generating a MIDI note at a specified frequency. |
|
Sent to the driver to set a new tempo for MIDI playback. |
|
This message is sent to a window when a waveform-audio input device is closed. |
|
This message is sent to a window when waveform-audio data is present in the input buffer and the buffer is being returned to the application. |
|
This message is sent to a window when a waveform-audio input device is opened. |
|
This message indicates that an audio stream is controlled by an audio gain class. |
|
This message is sent to a window when a waveform-audio output device is closed. |
|
This message is sent to a window when the given output buffer is being returned to the application. |
|
This message is used to make sure that an audio stream is routed to the external speaker on a Windows Mobile device. |
|
This message is sent to a window when the given waveform-audio output device is opened. |
|
This message associates a stream context with an attenuation class. |
|
This message places a limit on the maximum volume for all streams associated with an attenuation class and scales the streams' volumes accordingly. |
|
This message is sent to the given waveInProc callback function when a waveform-audio input device is closed. |
|
This message is 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. |
|
This message is sent to a waveInProc callback function when a waveform-audio input device is opened. |
|
This message is sent to a waveOutProc callback function when a waveform-audio output device is closed. |
|
This message is sent to a waveOutProc callback function when the given output buffer is being returned to the application. |
|
This message is sent to a waveOutProc callback function when a waveform-audio output device is opened. |