How do I debug this error?

0 favourites
  • 2 posts
From the Asset Store
7 Errors
$15 USD
7 Errors is a game where you have to find the 7 mistakes before time runs out. Can you find all 7? Have fun looking.
  • Javascript error!

    TypeError: Value being assigned to AudioParam.value is not a finite floating-point value.

    http://192.168.5.10:50000/Audio_plugin.js, line 1576 (col undefined)

    This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer!

    this is in line 1576

    this.gainNode["gain"]["value"] = vol * masterVolume;

    			// Stupid mobile browsers workaround: if music, we can't play until
    			// next touch event, so queue it up if workaround in effect
    			if (this.is_music && isMusicWorkaround && !audRuntime.isInUserInputEvent)
    				musicPlayNextTouch.push(this);
    			else
    				this.instanceObject.play();
    				
    			break;
    		case API_WEBAUDIO:
    			this.muted = false;
    			this.mutevol = 1;
    			
    			if (this.buffer.myapi === API_WEBAUDIO)
    			{
    				// buffer sources are one-shot - make a new object second time around
    				if (!this.fresh)
    				{
    					this.instanceObject = context["createBufferSource"]();
    					this.instanceObject["buffer"] = this.buffer.bufferObject;
    					this.instanceObject["connect"](this.gainNode);
    				}
    				
    				this.instanceObject.loop = looping;
                                    this.gainNode["gain"]["value"] = vol * masterVolume;
    				
    				if (seekPos === 0)
    					startSource(this.instanceObject);
    				else
    					startSourceAt(this.instanceObject, seekPos, this.getDuration());
    			}
    			else
    			{
    				if (instobj.playbackRate !== 1.0)
    					instobj.playbackRate = 1.0;
    				
    				if (instobj.loop !== looping)
    					instobj.loop = looping;
    			
    				this.gainNode["gain"]["value"] = vol * masterVolume;
    				
    				if (instobj.currentTime !== seekPos)
    				{
    					// no idea why this sometimes throws
    					try {
    						instobj.currentTime = seekPos;
    					}
    					catch (err)
    					{
    						log("Exception rewinding audio: " + err);
    					}
    				}[/code:2k30e4h2]
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Are you making the sound too high? What's the events you're using with audio?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)