Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Detaches the buffer. Memory can only be attached to a single metadata item at a time.
Syntax
HRESULT DetachBuffer();
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 ISpatialAudioMetadataItems has not been opened for copying with a call to Open or the object has been closed for writing with a call to Close. |
|
The ISpatialAudioMetadataItems was created to use a media pipeline internal buffer which can't be detached. |
|
The supplied buffer is not attached. |
|
One of the provided pointers is not valid.
The supplied buffer is not large enough to hold the maximum number of metadata items. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | spatialaudiometadata.h |