Map sounds and their playback in the newest prereleases of tripleA seems to be bugged. (at least in v2.3.22024)
Sounds are either not played or they are played very distorted.
I think it can be recreated by just starting an all AI game of Dragon War (distorted) or Age of Tribes (no sound beyond intro sound)
I noticed this the other day when starting a game... it settled down after a few minutes, but it was really really jittery on launch.
I'm not sure if this is related #7865 but it had some sound issues as well.
Can one of you try and find which build started showing this issue?
@trevan I will when I have the time. Thanks.
It doesn't do it in 2.2.20868 I'll check a few other others after a bit unless Frostion finds it first :)
ahh I may have misunderstood where I was. Please ignore if need be.
I think this is likely to be fixed at same time as: #7865
It seems the 'resource loader' gets messed up, at which point resources like sounds are not found. It's the same problem for not being able to find images, the resource loader is the thing that gives the 'root file path' from where we find things like sounds and images.
I am not sure, but i think 2.3.21422 is the first version that distorts sounds.
And maybe 2.3.21385 is the last version that does not have distortions.
I think this lists the changes: https://github.com/triplea-game/triplea/compare/2.3.21385...2.3.21422
I hope the sound issue can be figured out :-)
The only PR in that range that would affect sound is #7602. The message is "Fix: Disable audio if there is no audio device" so it would seem like that is a good possibility.
Yup, that change caused this. I played Dragon Age with Hard AI on master with the change reverted and the sound worked fine.
@FrostionAAA thanks for finding the initial problematic build. I've created a PR with a fix for this.