[r75] audio looping issues

Bugs will be moved here once resolved.

Post » Thu Jan 19, 2012 12:33 pm

What I want to do:
------------------------------

play sound + set looping = seamless looping

What happens:
------------------------------

Chrome (16.0.912.75):
- The first time you play the looping sound, it doesn't loop and stops after the first iteration.
- If you try a 2nd time (or any time after that) it loops seamlessly.

Firefox (9.0.1):
- Like Chrome.

IE (9.0.8112.16421):
- It loops from the first time (doesn't have the Chrome/FF problem).
- BUT there's a brief pause between loops that Chrome/FF don't have.

------------------------------
These may be 2 different bugs.. dunno

http://dl.dropbox.com/u/46072108/audiobug.capx
B
22
S
9
G
5
Posts: 122
Reputation: 5,386

Post » Thu Jan 19, 2012 1:13 pm

There is many bugs to do with HTML5 and audio. Only time will fix them.
B
29
S
12
G
7
Posts: 740
Reputation: 7,839

Post » Thu Jan 19, 2012 3:02 pm

Hmm, I think some browsers don't loop audio if you tell it to loop after you started playing, which breaks Construct 2's "loop last audio" pattern. That's annoying, browsers have always been rubbish at playing audio anyway, I'll see if I can fix that by adjusting the Play action to include a loop parameter.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests