ISpatialAudioMetadataItemsBuffer interface (spatialaudiometadata.h)

Provides methods for attaching buffers to SpatialAudioMetadataItems for in-place storage of data. Get an instance of this object by passing a pointer to the interface into ActivateSpatialAudioMetadataItems. The buffer will be associated with the returned SpatialAudioMetadataItems. This interface allows you to attach a buffer and reset its contents to the empty set of metadata items or attach a previously-populated buffer and retain the data stored in the buffer.

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 ISpatialAudioMetadataItemsBuffer interface inherits from the IUnknown interface. ISpatialAudioMetadataItemsBuffer also has these types of members:

Methods

The ISpatialAudioMetadataItemsBuffer interface has these methods.

 
ISpatialAudioMetadataItemsBuffer::AttachToBuffer

Attaches caller-provided memory for storage of ISpatialAudioMetadataItems objects.
ISpatialAudioMetadataItemsBuffer::AttachToPopulatedBuffer

Attaches a previously populated buffer for storage of ISpatialAudioMetadataItems objects. The metadata items already in the buffer are retained.
ISpatialAudioMetadataItemsBuffer::DetachBuffer

Detaches the buffer. Memory can only be attached to a single metadata item at a time.

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 spatialaudiometadata.h