DirectSound Driver Messages
The following table shows the Microsoft® DirectSound® messages that are passed to the driver.
Programming element | Description |
---|---|
DSDM_CREATEBUFFER | Requests the driver to create a hardware sound buffer with specific attributes. |
DSDM_DELETEBUFFER | Requests that the driver perform any needed actions to delete the sound buffer. |
DSDM_DUPLICATEBUFFER | Requests that the driver duplicate an existing sound buffer. |
DSDM_LOCK | Method called to obtain a valid write pointer to the sound buffer's audio data. |
DSDM_UNLOCK | Message that releases a block of sound data to the driver. |
DSDM_SETFORMAT | Message that sets the format of the primary sound buffer. |
DSDM_SETFREQUENCY | Method that sets the frequency at which the audio samples are to be played. |
DSDM_SETVOLUMEPAN | Message that sets the volume and pan of the sound buffer. |
DSDM_SETPOSITION | Message that moves the sound buffer's play cursor to the specified offset. |
DSDM_PLAY | Message that signals the sound buffer to start playing from the current position. |
DSDM_STOP | Message that signals the sound buffer to stop playing. |
DSDM_GETSTATUS | Message that retrieves the current status of the sound buffer. |
DSDM_GETPOSITION | Message called when Microsoft® DirectSound® is querying the current position of the specified sound buffer. |
DSDM_GETPROP | Retrieves the current value of a property. |
DSDM_SETPROP | Sets the current value of a property to the value stored in the buffer pointed to by pData. |
DSDM_QUERYPROP | Determines whether a property set is supported by the object. |
DSDM_SETNOTIFICATIONS | Message that needs to be implemented in the driver if the hardware provides support for alerting that play position has passed a certain point. |
See Also
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.