Device.Caps Property |
Language: |
Retrieves the capabilities of the hardware device.
Visual Basic Public ReadOnly Property Caps As Caps C# public Caps Caps { get; } C++ public:
property Caps Caps {
Caps get();
}JScript public function get Caps() : Caps
Microsoft.DirectX.DirectSound.Caps
This property is read-only.
The capabilities of this sound device.
Information retrieved in the Caps structure describes the maximum capabilities of the sound device and those currently available, such as the number of hardware mixing channels and the amount of on-board sound memory. You can use this information to fine-tune performance and optimize resource allocation.
Because of resource-sharing requirements, the maximum capabilities in one area might be available only at the cost of another area.
Exceptions
SoundException Root exception type for all Microsoft DirectSound exceptions. Derives from DirectXException. ArgumentException An invalid parameter was passed to the called method.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center