Microsoft SDK for Java

getCaps

This method of the DirectSound Class retrieves the capabilities of the hardware device that is represented by the DirectSound object.

Syntax

public void getCaps(DSCaps caps);

Parameters

caps The DSCaps object that receives the capabilities of this sound device.

Remarks

Information retrieved in the DSCaps object describes the maximum capabilities of the sound device and those currently available, such as the number of hardware mixing channels and the amount of onboard sound memory. This information can be used to fine-tune performance and optimize resource allocation.

Because of resource sharing requirements, the maximum capabilities in one area might only be available at the cost of another area. For example, the maximum number of hardware-mixed streaming sound buffers might only be available if there are no hardware static sound buffers.

See Also

directSoundCreate, com.ms.directX.DSCaps

© 1999 Microsoft Corporation. All rights reserved. Terms of use.