|Microsoft DirectX 9.0|
The following list describes all DirectSound return values. To find a constant from its value, see DirectSound Return Values by Number.
The method succeeded.
The buffer was created, but another 3-D algorithm was substituted.
The method succeeded, but not all the optional effects were obtained.
The request failed because access was denied.
The request failed because resources, such as a priority level, were already in use by another caller.
The object is already initialized.
The specified wave format is not supported.
The GUID specified in an audiopath file does not match a valid mix-in buffer.
The buffer memory has been lost and must be restored.
The buffer size is not great enough to enable effects processing.
The buffer control (volume, pan, and so on) requested by the caller is not available. Controls must be specified when the buffer is created, using the dwFlags member of DSBUFFERDESC.
A DirectSound object of class CLSID_DirectSound8 or later is required for the requested functionality. For more information, see IDirectSound8 Interface.
The effects requested could not be found on the system, or they are in the wrong order or in the wrong location; for example, an effect expected in hardware was found in software.
An undetermined error occurred inside the DirectSound subsystem.
This function is not valid for the current state of this object.
An invalid parameter was passed to the returning function.
The object does not support aggregation.
No sound driver is available for use, or the given GUID is not a valid DirectSound device ID.
The requested COM interface is not available.
The requested object was not found.
Another application has a higher priority level, preventing this call from succeeding.
The DirectSound subsystem could not allocate sufficient memory to complete the caller's request.
A cooperative level of DSSCL_PRIORITY or higher is required.
A circular loop of send effects was detected.
The IDirectSound8::Initialize method has not been called or has not been called successfully before other methods were called.
The function called is not supported at this time.