IMFSpatialAudioSample::AddSpatialAudioObject method

Adds a new spatial audio object, represented by an IMFSpatialAudioObjectBuffer object, to the sample.

Syntax


HRESULT AddSpatialAudioObject(
  [in] IMFSpatialAudioObjectBuffer *pAudioObjBuffer
);

Parameters

pAudioObjBuffer [in]

A pointer to the new IMFSpatialAudioObject.

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

IMFSpatialAudioSample

 

 

Show: