carb::audio::SoundDataDestructionCallback

Defined in carb/audio/IAudioData.h

typedef void (*carb::audio::SoundDataDestructionCallback)(const SoundData *soundData, void *context)

An optional callback that gets fired when the SoundData’s final reference is released.

Param soundData

[in] The sound data object to set the destructor for. This object will still be valid during this callback, but immediately after this callback returns, soundData will be invalid.

Param context

[in] the callback context value specified in the SoundDataLoadDesc object. This is passed in unmodified.