Fix a potential crash in AudioEngine on Android.
Merge pull request #8055 from Dhilan007/v3-audio903

Fix a potential crash in AudioEngine on Android.