ISpatialAudioMetadataClient::ActivateSpatialAudioMetadataReader method (spatialaudiometadata.h)

Creates an ISpatialAudioMetadataWriter object for reading spatial audio metadata items from an ISpatialAudioMetadataItems object.

Syntax

HRESULT ActivateSpatialAudioMetadataReader(
  [out] ISpatialAudioMetadataReader **metadataReader
);

Parameters

[out] metadataReader

Receives a pointer to an instance of ISpatialAudioMetadataReader.

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_INVALIDARG
The provided pointer is not valid.

Requirements

Requirement Value
Target Platform Windows
Header spatialaudiometadata.h

See also

ISpatialAudioMetadataClient