-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sound fails to load, due to missing N4jass6render12SourcePlayerX #26
Comments
Likely same as #9 |
Below is the console and errors for the sim in Windows Firefox: CheerpJ is initializing loader.js:2838:11 |
The failure is that this sound player is not supported |
I tried commenting out the part that loads the system library and forces to use javasound, but ran into downstream problems. Index: simulations-java/simulations/sound/src/jass/render/SourcePlayer.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- simulations-java/simulations/sound/src/jass/render/SourcePlayer.java (revision 75154)
+++ simulations-java/simulations/sound/src/jass/render/SourcePlayer.java (date 1589553344874)
@@ -83,6 +83,7 @@
* @param audioAPI - either "something", or "ASIO".
*/
public void setUseNativeSound( boolean value, String audioAPI ) {
+ value = false;
this.useNativeSound = value;
if( ( audioAPI.equals( "ASIO" ) ) && value == true ) {
this.audioAPI = audioAPI;
@@ -96,6 +97,7 @@
* @param value value
*/
public void setUseNativeSound( boolean value ) {
+ value = false;
this.useNativeSound = value;
if( this.useNativeSound == true ) {
this.audioAPI = "notASIO";
|
I ran into this in #128, I'll remove it from the project list for now. |
For phetsims/qa#489
https://phet-dev.colorado.edu/decaf/sound/1.0.0-dev.2/
Sound fails to load in both Chrome and Firefox when tested on a lower performance windows laptop and high performance windows PC.
The text was updated successfully, but these errors were encountered: