carb::audio::fConvertFlagInPlace
Defined in carb/audio/IAudioUtils.h
-
constexpr ConvertFlags carb::audio::fConvertFlagInPlace = 0x00000001
convert the sound data object in-place.
The old buffer data will be replaced with the converted data and all of the object’s format information will be updated accordingly. This is the default behavior if no flags are given. Note that if the source and destination formats are the same and this flag is used, a new reference will be taken on the original sound data object. The returned object will be the same as the input object, but both will need to be released (just the same as if a new object had been returned).