Microsoft DirectX 9.0 |
To set or retrieve parameters of sound effects, you must first obtain the appropriate interface to the buffer that contains the effect. The following interfaces give you access to parameters of the standard
To obtain one of these interfaces, pass the corresponding IID to the QueryInterface method of the buffer containing the effect. For a list of IIDs, see DirectSound Interface GUIDs.
Changes in effect parameters do not always take place immediately. For efficiency, DirectSound processes 100 milliseconds of sound data in a buffer, starting at the play cursor, before the buffer is played. This preprocessing happens after all of the following calls: