Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits)

It seems everytime the audio devices are reset there is a probability that the volume detection will fail to read the microphone levels.

Therefore,  setting secondsToMicReset too low increases the probabilty of the audio stop working. I couldn't figure out yet why, since it is hard to replicate the bug (for everytime I must wait many cycles for it to fail).

When secondsToMicReset is 8, it takes about 3~5 minutes for the application to crash. It is possible that there is some sort of leak related to AudioServer or AudioStreamPlayer, but I wouldn't be so sure about that. 🤔

For some reason, when I rebuild the app myself and set secondsToMicReset to 1800, it just stopped. Originally I was setting it too low because the microphone buffer was accumulating delay, which is not happening anymore in my custom build (I have no idea why).

I have used Godot v4.1.1.stable.official to build the app.