brainout
brainout copied to clipboard
AssetManager: sound assets take half of loading time
all the assets load with a regular time of milliseconds except sound assets, which take a long time to load (half of loading time).
Sound loading duration is approximately 18 seconds (starts at 0:09)
https://user-images.githubusercontent.com/30794365/159822347-2c708acf-30ac-4ec6-87db-f13e40878ef4.mp4
Tested with processor AMD Athlon 3000g, Ram: 6 GB
That is pretty much expected and you can't do anything about it. I've tried switching from mp3 to ogg, didn't get any boost. wav takes too much space.
You can define BRAINOUT_NO_SOUND env variable for development, and the game will skip loading those assers.