ISpatialAudioMetadataWriter::Close method (spatialaudiometadata.h)
Completes any needed operations on the metadata buffer and releases the specified ISpatialAudioMetadataItems object.
Syntax
HRESULT Close();
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 |
---|---|
|
The supplied ISpatialAudioMetadataItems has not been opened with a call to Open. |
|
No metadata items have been written to the supplied ISpatialAudioMetadataItems. |
|
No metadata commands have been written to the supplied ISpatialAudioMetadataItems. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | spatialaudiometadata.h |