Defined in carb/audio/AudioUtils.h

inline void carb::audio::getSoundDataLoadDescDefaults(SoundDataLoadDesc *desc)

Initialize a SoundDataLoadDesc to its defaults.


This initializes desc to a set of default values. This is useful for cases where only a small subset of members need to be changed, since this will initialize the entire struct to no-op values. For example, when loading a sound from a file name, only desc->name and desc->flags need to be modified.


This function is deprecated and should no longer be used. This can be replaced by simply initializing the descriptor with “= {}”.


desc[out] The desc to initialize.