IMFSpatialAudioObjectBuffer interface (mfspatialaudio.h)

Represents a section of audio data with associated positional and rendering metadata. Spatial audio objects are stored in IMFSpatialAudioSample instances, and allow passing of spatial audio information between Media Foundation components.

Inheritance

The IMFSpatialAudioObjectBuffer interface inherits from IMFMediaBuffer. IMFSpatialAudioObjectBuffer also has these types of members:

Methods

The IMFSpatialAudioObjectBuffer interface has these methods.

 
IMFSpatialAudioObjectBuffer::GetID

Returns the unique, unsigned 32-bit ID of the spatial audio object represented by the buffer.
IMFSpatialAudioObjectBuffer::GetMetadataItems

Retrieves a pointer to a buffer that may contain spatial audio metadata.
IMFSpatialAudioObjectBuffer::GetType

Gets the type of the spatial audio object represented by the buffer. If SetType has not been called previously, this method returns the default value of AudioObjectType_None.
IMFSpatialAudioObjectBuffer::SetID

Sets the ID of the spatial audio object represented by the buffer.
IMFSpatialAudioObjectBuffer::SetType

Sets the type of the spatial audio object represented by the buffer.

Remarks

To get the audio data contained in the spatial audio object, use the IMFMediaBuffer::Lock and IMFMediaBuffer::Unlock methods.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1703 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header mfspatialaudio.h (include Mfobjects.h)

See also

IMFMediaBuffer