-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Update Sound Manager 2 #4426
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
Update Sound Manager 2 #4426
Conversation
GWT builds successfully with this change, but fails to actually run in the browser on desktop. Causes some kind of exception, even in apps that don't have any sounds. Seems to work in browsers on Android though, oddly enough. Please look into this. I've downgraded to 1.9.4 until there is a release where the GWT backend works. |
Works just fine in browser. |
Oh, I should have mentioned, This bug only seems to occur some of the time, but I've tested it on both FireFox and Chrome on multiple computers. They're all running Windows 10 though. |
Are you running gdx tests from source? I've ran this on chrome and firefox no issue. |
Just tried it on Windows 7, same issue. See my page here: https://benmclean.github.io/Planet-Generator/html/build/dist/ (btw it may be updated by tomorrow) |
Run the gdx-tests please. |
I will give that a try after work. :) |
I will be trying out the tests as you suggest, but just FYI here is the error from the javascript console:
From that I was just assuming it must be this change since it wasn't happening before this change and is happening after, and it says "soundmanager2" right in it. But I could be wrong -- it could be something I did. I doubt it though, since my app isn't doing anything with sound. |
I'll try to get this done soon but not today. |
I also have this problem after updating from 1.9.4 to 1.9.6. I am using Windows 10. The error message is logged only on Firefox with Flash enabled. Firefox without Flash and Chrome are working. Error: soundManager: Fatal: JavaScript file build "V2.97a.20130512" does not match Flash SWF build "V2.97a.20150601" at https://v6p9d9t4.ssl.hwcdn.net/html/495497/html/soundmanager2_flash9_debug.swf. Ensure both are up-to-date. soundmanager2-jsmin.js:94:452 The game won't start then. |
@Tom-Ski problem exists in Firefox on Windows with Flash installed. If you don't face the problem, you are probably using Firefox without Flash. See #4771 for console log. I think this should be classified as a critical problem because it is preventing the whole application to start on a widely used configuration. @BenMcLean |
@MrStahlfelge you are probably using a gdx project which has been created by an old version. You have to either regenerate your project or copy over the new files. |
@intrigus Thank you for the hint. I updated according to the doc in the wiki -- is this documentation incomplete? Where can I find the information which files to copy? (probably the two js files in /webapp, but I want to make sure) |
@intrigus can you please add the information which files to copy to the Update documentation? I would add it myself it I would know which files from where need to be replaced. |
Busy right now. Sorry. |
Update Sound Manager to version V2.97a.20150601.
This should fix http://www.badlogicgames.com/forum/viewtopic.php?f=15&t=24079 .