IMFSpatialAudioSample::GetObjectCount method

Gets the count of spatial audio objects, represented by IMFSpatialAudioObjectBuffer objects, in the sample.

Syntax


HRESULT GetObjectCount(
  [out] DWORD *pdwObjectCount
);

Parameters

pdwObjectCount [out]

A pointer to a 32 bit variable where the total number of audio objects in the sample 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

IMFSpatialAudioSample

 

 

Show: