ISpatialAudioMetadataCopier interface
Provides methods for copying all or subsets of metadata items from a source SpatialAudioMetadataItems into a destination SpatialAudioMetadataItems. The SpatialAudioMetadataItems object, which is populated using an ISpatialAudioMetadataWriter or ISpatialAudioMetadataCopier, has a frame count, specified with the frameCount parameter to ActivateSpatialAudioMetadataItems, that represents the valid range of metadata item offsets. ISpatialAudioMetadataReader enables copying groups of items within a subrange of the total frame count. The object maintains an internal read position, which is advanced by the number of frames specified when a copy operation is performed.
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.
Members
The ISpatialAudioMetadataCopier interface inherits from the IUnknown interface. ISpatialAudioMetadataCopier also has these types of members:
Methods
The ISpatialAudioMetadataCopier interface has these methods.
| Method | Description |
|---|---|
| Close |
Completes any necessary operations on the SpatialAudioMetadataItems object and releases the object. |
| CopyMetadataForFrames |
Copies metadata items from the source ISpatialAudioMetadataItems, provided to the Open method, object to the destination ISpatialAudioMetadataItems object, specified with the dstMetadataItems parameter. Each call advances the internal copy position by the number of frames in the copyFrameCount parameter. |
| Open |
Opens an ISpatialAudioMetadataItems object for copying. |
Requirements
|
Minimum supported client |
Windows 10, version 1703 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2016 [desktop apps only] |
|
Header |
|