AudioSource question

Hi

​I'd like to know the following : What triggers the call of prepareToPlay and releaseResources methods ?

​Thank you in advance