SpatialAudioMetadataCopyMode enumeration (spatialaudiometadata.h)

Specifies the copy mode used when calling ISpatialAudioMetadataCopier::CopyMetadataForFrames.

Syntax

typedef enum SpatialAudioMetadataCopyMode {
  SpatialAudioMetadataCopy_Overwrite = 0,
  SpatialAudioMetadataCopy_Append,
  SpatialAudioMetadataCopy_AppendMergeWithLast,
  SpatialAudioMetadataCopy_AppendMergeWithFirst
} ;

Constants

 
SpatialAudioMetadataCopy_Overwrite
Value: 0
Creates a direct copy of the number of metadata items specified with the copyFrameCount parameter into destination buffer, overwriting any previously existing data.
SpatialAudioMetadataCopy_Append
Performs an append operation which will fail if the resulting ISpatialAudioMetadataItemsBuffer has too many items.
SpatialAudioMetadataCopy_AppendMergeWithLast
Performs an append operation, and if overflow occurs, extra items are merged into last item, adopting last merged item's offset value.
SpatialAudioMetadataCopy_AppendMergeWithFirst
Performs an append operation, and if overflow occurs, extra items are merged, assigning the offset to the offset of the first non-overflow item.

Requirements

Requirement Value
Header spatialaudiometadata.h