carb::audio::fConvertFlagReferenceData

Defined in carb/audio/IAudioUtils.h

constexpr ConvertFlags carb::audio::fConvertFlagReferenceData = 0x00000004

when duplicating a sound data object and no conversion is necessary, this allows the new object to reference the same data pointer as the original object.

It is the caller’s responsibility to ensure that the original object remains valid for the life time of the copied object. This flag will be ignored if a conversion needs to occur. This flag is useful when the original sound data object already references user memory instead of copying the data. If this flag is not used, the data buffer will always be copied from the original buffer.