ISpatialAudioObjectForMetadataCommands::WriteNextMetadataCommand method
Writes a metadata command to the spatial audio object, each command may only be added once per object per processing cycle. Valid commands and value lengths are defined by the metadata format specified in the SpatialAudioObjectRenderStreamForMetadataActivationParams when the ISpatialAudioObjectRenderStreamForMetadata was created.
Syntax
HRESULT WriteNextMetadataCommand( [in] BYTE commandID, [in] VOID *valueBuffer, [in] UINT32 valueBufferLength );
Parameters
- commandID [in]
-
The ID of the metadata command.
- valueBuffer [in]
-
The buffer containing the value data for the metadata command.
- valueBufferLength [in]
-
The length of the valueBuffer.
Return value
If the method succeeds, it returns S_OK.
Requirements
|
Header |
|
|---|
See also