Open
Description
Godot version
v3.5.stable.official [991bb6a]
System information
Android 4.4.2, Nvidia TD580D-A1 quad-core Tegra K1 processor, GLES3
Issue description
The issue is that the screen freezes (no screen updates, input stops working) at seemingly random times when I call AudioEffectSpectrumAnalyzerInstance.get_magnitude_for_frequency_range in the _process function. I've only seen this happen on my only Android device (an old Google Project Tango tablet). The same code works fine on macOS and all of my iOS devices.
I expected the screen to not freeze.
Steps to reproduce
- Export an Android APK for the attached sample project.
- Install the APK on an android device (I've only tested 1 device as I only own 1, but I'll try to test more).
- Run the game and wait for anywhere from 10 seconds to a couple of minutes and notice the screen freezes while the audio continues to run. If you comment out line 20 in Main.gd (the one calling get_magnitude_for_frequency_range) game will run fine for as long as you let it (I ran it for 15 minutes without crashing).