-
Notifications
You must be signed in to change notification settings - Fork 1
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
Ability to increase maximun sound pool. #6
Comments
So after checking the code, the maximum of streaming sounds (i think those are the dynamic sounds) is 255, so you can never get more than that. Problem, the only reasonable thing i can do is make the upper bound limit of sounds adjustable (which is added by minecraft) because it seems the amount of max sounds is actually determined by the audio library |
After more investigation, the simplest thing I can do is remove the limit that minecraft adds. For increasing it you should go to this line which says |
Checking what you said, Im able to modify it creating the file in AppData/Roaming, but could be cool if the mod itself creates that file. Do mods have the ability to access files outside .minecraft? This might make it more accessible and easier to other people. |
It's surely possible but i dont think its a good idea to do it. It's better that the mod doesnt touch anything outside its space imo, in this case the problem is minecraft using OpenAL which is kind of old lol. The solution isnt even supported in all systems only the ones using OpenAL-Soft because if you are using hardware-based OpenAL the only solution is to add a lot more code to do some kind of pooling with the sources i uploaded the mod to gh releases and curseforge (waiting approval). modrinth is down it seems |
Yeah, seems like a bad practice for me too, also a lot of things to take into account with different systems as you say. Thank you for your time and your fast response btw, you helped me a lot! |
np, have fun :p |
Could be a little tweak in sound options, or even just a higher fixed value unable to be reached. The current one seems to be a bit short in some ocasions and mute lots of sounds if there are, for example, a huge amount of entities making sounds in one place.
I leave the mojang issue related to this for further information here.
The text was updated successfully, but these errors were encountered: