Defined in carb/audio/AudioUtils.h

inline void carb::audio::getPlaySoundDescDefaults(PlaySoundDesc *desc)

Initialize a PlaySoundDesc 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 playing a one shot sound, only desc->sound will 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.