IMFSpatialAudioObjectBuffer::GetType method

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

pType [out]

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 codeDescription
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

Header

Mfobjects.h

Library

Mfobjects.lib

See also

IMFSpatialAudioObjectBuffer

 

 

Show: