ISpatialAudioObjectRenderStreamNotify interface (spatialaudioclient.h)

Provides notifications for spatial audio clients to respond to changes in the state of an ISpatialAudioObjectRenderStream.

You register the object that implements this interface by assigning it to the NotifyObject parameter of the SpatialAudioClientActivationParams structure passed into the ISpatialAudioClient::ActivateSpatialAudioStream method. After registering its ISpatialAudioObjectRenderStreamNotify interface, the client receives event notifications in the form of callbacks through the OnAvailableDynamicObjectCountChange method in the interface.

This interface is a part of Windows Sonic, Microsoft’s audio platform for more immersive audio which includes integrated spatial sound on Xbox and Windows.

Inheritance

The ISpatialAudioObjectRenderStreamNotify interface inherits from the IUnknown interface. ISpatialAudioObjectRenderStreamNotify also has these types of members:

Methods

The ISpatialAudioObjectRenderStreamNotify interface has these methods.

 
ISpatialAudioObjectRenderStreamNotify::OnAvailableDynamicObjectCountChange

Notifies the spatial audio client when the rendering capacity for an ISpatialAudioObjectRenderStream is about to change, specifies the time after which the change will occur, and specifies the number of dynamic audio objects that will be available after the change.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1703 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header spatialaudioclient.h