carb::audio::fConvertFlagForceCopy

Defined in carb/audio/IAudioUtils.h

constexpr ConvertFlags carb::audio::fConvertFlagForceCopy = 0x00000008

forces an operation to copy or decode the input data into a new sound data object.

If the fConvertFlagInPlace is specified and the sound data object is in memory, then the object is decoded in place. If the sound is in a file, then this creates a new sound data object containing the decoded sound. If the fConvertFlagCopy is specified, then a new sound data object will be created to contain the converted sound. If neither the fConvertFlagCopy nor the fConvertFlagInPlace are specified, then the fConvertFlagCopy flag will be implied.

Note

Using this flag on a compressed format will cause a re-encode and that could cause quality degredation.