ISpatialAudioMetadataWriter::Close method

Completes any needed operations on the metadata buffer and releases the specified ISpatialAudioMetadataItems object.

Syntax


HRESULT Close();

Parameters

This method has no parameters.

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

The supplied ISpatialAudioMetadataItems has not been opened with a call to Open.

SPTLAUD_MD_CLNT_E_NO_ITEMS_WRITTEN

No metadata items have been written to the supplied ISpatialAudioMetadataItems.

SPTLAUD_MD_CLNT_E_ITEM_MUST_HAVE_COMMANDS

No metadata commands have been written to the supplied ISpatialAudioMetadataItems.

 

See also

ISpatialAudioMetadataWriter

 

 

Show: