SpatialAudioMetadataWriterOverflowMode enumeration (spatialaudiometadata.h)

Specifies the desired behavior when an ISpatialAudioMetadataWriter attempts to write more items into the metadata buffer than was specified when the client was initialized.

Syntax

typedef enum SpatialAudioMetadataWriterOverflowMode {
  SpatialAudioMetadataWriterOverflow_Fail = 0,
  SpatialAudioMetadataWriterOverflow_MergeWithNew,
  SpatialAudioMetadataWriterOverflow_MergeWithLast
} ;

Constants

 
SpatialAudioMetadataWriterOverflow_Fail
Value: 0
The write operation will fail.
SpatialAudioMetadataWriterOverflow_MergeWithNew
The write operation will succeed, the overflow item will be merged with previous item and adopt the frame offset of newest item.
SpatialAudioMetadataWriterOverflow_MergeWithLast
The write operation will succeed, the overflow item will be merged with previous item and keep the existing frame offset.

Requirements

Requirement Value
Header spatialaudiometadata.h