ISpatialAudioObjectForMetadataItems interface
Used to write spatial audio metadata for applications that require multiple metadata items per buffer with frame-accurate placement. The data written via this interface must adhere to the format 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.
Members
The ISpatialAudioObjectForMetadataItems interface inherits from the IUnknown interface. ISpatialAudioObjectForMetadataItems also has these types of members:
Methods
The ISpatialAudioObjectForMetadataItems interface has these methods.
| Method | Description |
|---|---|
| ActivateSpatialAudioObjectForMetadataCommands |
Activate an ISpatialAudioObjectForMetadataCommands for rendering. |
| ActivateSpatialAudioObjectForMetadataItems |
Activate an ISpatialAudioObjectForMetadataItems for rendering. |
| GetAudioObjectType |
Gets a value specifying the type of audio object that is represented by the ISpatialAudioObjectForMetadataItems. This value indicates if the object is dynamic or static. If the object is static, one and only one of the static audio channel values to which the object is assigned is returned. |
| GetBuffer |
Gets a buffer that is used to supply the audio data for the ISpatialAudioObjectForMetadataItems. |
| GetSpatialAudioMetadataItems |
Gets a pointer to the ISpatialAudioMetadataItems object which stores metadata items for the ISpatialAudioObjectForMetadataItems. |
| IsActive |
Gets a value indicating whether the ISpatialAudioObjectForMetadataItems is valid. |
| SetEndOfStream |
Instructs the system that the final block of audio data has been submitted for the ISpatialAudioObjectForMetadataItems so that the object can be deactivated and it's resources reused. |
Requirements
|
Minimum supported client |
Windows 10, version 1703 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2016 [desktop apps only] |
|
Header |
|