Link to .capx file (required!):
pwnsoft.com/c2capx/AudioBug.capx
Steps to reproduce:
1. preload audio sound
2. add event: Audio - All preloads complete - Play audio sound on loop
3. Run layout
Observed result:
Memory climbs and CPU is almost maxed out on the browser instance. The audio does play as expected but it starts to distort and then slows down as the CPU is bogged down.
Expected result:
Sound preloads, plays on a loop, mutes, and then I can unmute when needed.
Browsers affected:
Chrome: yes = Version 24.0.1312.57 m
Firefox: yes = Version 18.0.2
Internet Explorer: Yes = Version 9.0.8112.16421
Node-Webkit: Yes = Version bundled with r118
Operating system & service pack:
Win7 SP1, x64
Construct 2 version:
r118
Other Steps:
I experimented quite a few times to find the problem, and I believe that the "Audio - All Preloads Complete" is the the culprit here. If I remove that event and just play the audio loop "On start of layout", the audio doesn't play right away when I want it, but it doesn't cause the same issues.