ISpatialAudioObjectForMetadataItems::GetSpatialAudioMetadataItems method (spatialaudiometadata.h)

Gets a pointer to the ISpatialAudioMetadataItems object which stores metadata items for the ISpatialAudioObjectForMetadataItems.

Syntax

HRESULT GetSpatialAudioMetadataItems(
  [out] ISpatialAudioMetadataItems **metadataItems
);

Parameters

[out] metadataItems

Receives a pointer to the ISpatialAudioMetadataItems associated with the ISpatialAudioObjectForMetadataItems.

Return value

If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
E_POINTER
The supplied pointer is invalid.

Remarks

The client must free this object when it is no longer being used by calling Release.

Requirements

Requirement Value
Target Platform Windows
Header spatialaudiometadata.h (include Spatialaudioclient.h)

See also

ISpatialAudioObjectForMetadataItems