Sent to a waveform output device driver to set the pitch rate for a device.
MMSYSERR_NOTENABLED | The driver failed to load or initialize. |
MMSYSERR_NOTSUPPORTED | The driver does not support changes to the pitch rate. |
Driver support for pitch rate changes is optional. When a driver receives a WODM_GETDEVCAPS message, it should indicate support for pitch rate changes
by setting or clearing the WAVECAPS_PITCH bit in the dwSupport field of the WAVEOUTCAPS data structure. If a driver supports the WODM_SETPITCH
message, then it must also support WODM_GETPITCH.
Changes to the pitch rate alter the pitch of a waveform during playback and are usually performed by the waveform output hardware. If the hardware does not support this feature, the driver can choose to implement playback rate changes instead.
WODM_GETPITCH, WODM_SETPLAYBACKRATE