carb::audio::fDataFlagEmpty
Defined in carb/audio/IAudioData.h
-
constexpr DataFlags carb::audio::fDataFlagEmpty = 0x08000000
create the sound data object as empty.
The buffer will be allocated to the size specified in SoundDataLoadDesc::bufferLength and will be filled with silence. The data format information also must be filled out in the SoundDataLoadDesc descriptor before calling createData(). All other flags except for the fDataFlagNoName and fDataFlagCalcPeaks flags will be ignored when this flag is used. This flag is not allowed if specified through the asset loader system since it requires extra information.