ISpatialAudioObjectForMetadataCommands interface (spatialaudiometadata.h)

Used to write metadata commands for spatial audio. Valid commands and value lengths are defined by the metadata format specified in the SpatialAudioObjectRenderStreamForMetadataActivationParams when the ISpatialAudioObjectRenderStreamForMetadata was created.

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.


The ISpatialAudioObjectForMetadataCommands interface inherits from ISpatialAudioObjectBase. ISpatialAudioObjectForMetadataCommands also has these types of members:


The ISpatialAudioObjectForMetadataCommands interface has these methods.


Writes a metadata command to the spatial audio object, each command may only be added once per object per processing cycle.


Note  Many of the methods provided by this interface are implemented in the inherited ISpatialAudioObjectBase interface.


Minimum supported client Windows 10, version 1703 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header spatialaudiometadata.h (include Spatialaudioclient.h)

See also