Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssetManager: sound assets take half of loading time #7

Open
OcZi opened this issue Mar 24, 2022 · 1 comment
Open

AssetManager: sound assets take half of loading time #7

OcZi opened this issue Mar 24, 2022 · 1 comment

Comments

@OcZi
Copy link
Contributor

OcZi commented Mar 24, 2022

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)

brainout-2022-03-23_19.49.51.mp4

Tested with processor AMD Athlon 3000g, Ram: 6 GB

@desertkun
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants