(r202) Audio does not resume

Bugs will be moved here once resolved.

Post » Tue Apr 14, 2015 5:55 pm

Problem Description
Play audio 1.
Pause audio 1 and play audio 2.
On audio 2 finished, resume audio 1.

Audio 1 does not resume.

Attach a Capx
https://drive.google.com/file/d/0B0gW1A ... sp=sharing

Description of Capx
Plays audio 1 on start of layout. On any key pressed it pauses Audio 1 and plays Audio 2.
On audio 2 finished, it resumes audio 1.

Steps to Reproduce Bug
  • Play Audio 1.
  • Pause Audio 1.
  • Play Audio 2
  • On Audio 2 finished, resume audio 1.

Observed Result
Audio 1 does not resume.

Expected Result
Audio 1 resumes.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
Windows 7 Home Premium SP1

Construct 2 Version ID
Beta r202


You should relook at your "bug fix":
"Audio: could fail to pause audio if it had previously been paused and resumed".
In r201 everything worked fine, now it's not.
Last edited by Nesteris on Wed Apr 15, 2015 5:37 pm, edited 1 time in total.
The moderators are corrupt and ban for no reason, especially that condescending neckbeard asshole Kyatric. The forums are filled with fanboys.
Banned User
B
22
S
7
G
1
Posts: 558
Reputation: 2,925

Post » Tue Apr 14, 2015 6:50 pm

Actually the issue seems to be with the trigger "Audio ended" (or possibly this specific music, I haven't done complimentary tests).

Check this example that builds upon the original capx.

Use the up arrow to pause and play the new bit of audio.
Use the down arrow to manually resume the audio 1.

Notice how despite supposed to show a debug message, apparently the "On Audio 2 ended" condition never seems to happen.

Tested in FF and NW.JS.
I assume this will work the same in Chrome and possibly Explorer.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
280
S
104
G
86
Posts: 7,313
Reputation: 84,356

Post » Tue Apr 14, 2015 6:57 pm

Kyatric wrote:Actually the issue seems to be with the trigger "Audio ended" (or possibly this specific music, I haven't done complimentary tests)..


It's definitely not the specific music, it's not working in my game either. So it's either the trigger or the action.

I rolled back to r201 and deleted my r202 install, not going to bother downloading & installing it again.

In anycase, @Ashley needs to fix this.

Thanks for confirming that I'm not the only one that has this problem.
The moderators are corrupt and ban for no reason, especially that condescending neckbeard asshole Kyatric. The forums are filled with fanboys.
Banned User
B
22
S
7
G
1
Posts: 558
Reputation: 2,925

Post » Thu Apr 16, 2015 9:05 pm

Im suffering same bug. Got nuts trying to fix my code thinking it was something i wrote wrong.
Edit: The bug its on "music ended" detection. On short sounds seems to work (sometimes), but not on music that its longer.
B
33
S
6
G
4
Posts: 44
Reputation: 5,066

Post » Fri Apr 17, 2015 10:41 am

Same here I'm afraid. On sound ended doesn't trigger following actions.
B
36
S
13
G
6
Posts: 145
Reputation: 5,298

Post » Tue Apr 21, 2015 1:19 pm

Thanks, should be fixed in the next build.
Scirra Founder
B
386
S
229
G
87
Posts: 24,207
Reputation: 191,682


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests