ISpatialAudioObjectRenderStreamForMetadata::GetAvailableDynamicObjectCount method
Gets the number of dynamic spatial audio objects that are currently available.
HRESULT GetAvailableDynamicObjectCount(
[out] UINT32 *value
);
- value [out]
The number of dynamic spatial audio objects that are currently available.
If the method succeeds, it returns S_OK.
A dynamic ISpatialAudioObjectForMetadataCommands or ISpatialAudioObjectForMetadataItems is one that was activated by setting the type parameter to the ActivateSpatialAudioObjectForMetadataCommands or ActivateSpatialAudioObjectForMetadataItems method to AudioObjectType_Dynamic. The system has a limit of the maximum number of dynamic spatial audio objects that can be activated at one time. Call Release on an ISpatialAudioObjectForMetadataCommands or ISpatialAudioObjectForMetadataItems when it is no longer being used to free up the resource to create new dynamic spatial audio objects.
Header |
Spatialaudioclient.h |