IMFSpatialAudioObjectBuffer::GetType method (mfspatialaudio.h)

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.

Syntax

HRESULT GetType(
  [out] AudioObjectType *pType
);

Parameters

[out] pType

A pointer to an AudioObjectType variable where the audio object type will be stored.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
The supplied pointer is invalid.

Requirements

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

See also

IMFSpatialAudioObjectBuffer