Hi,
I have like 40 sfx files that are getting played back randomly, I load them once and store their references and when I need to playback one of them, I pass it’s file reference to audio.play( handle, options ).
Questions are:
-
Do I have to nullify the audio handles?
-
Do I have to do anything to prevent memory leakage in this scenario?
I’ve read posts regarding memory leakage prevention with nullifying audio reference and whatnot but in my case I don’t want to lose references as I need to play them back again and again.
Thanks.