carb::audio::fDataFlagInMemory

Defined in carb/audio/IAudioData.h

constexpr DataFlags carb::audio::fDataFlagInMemory = 0x02000000

load the file data from a blob in memory.

The blob of file data is specified in the SoundDataLoadDesc::dataBlob value and the blob’s size is specified in the SoundDataLoadDesc::dataBlobLengthInBytes value. Depending on the other flags used, this blob may be copied into the new sound data object or it may be decoded into the new object. As long as the fDataFlagUserMemory flag is not also used, the blob data may be discarded upon return from createData(). This flag is always implied when loading a sound data object through the asset loader system.