iOS audio distorted/missing with background apps

Bugs will be moved here once resolved.

Post » Fri Nov 27, 2015 8:33 pm

(Apologies for my last bug report)

Problem Description
Often audio can be heard to be distorted when running a game with an app in the background suspended/minimised that has previously used sound. On occasions there will be no sound or selective sound.
Other non-Construct 2 apps/websites on the same device do not exhibit the same issue.
Other Construct 2 members have mentioned this in the forums.

Attach a Capx
https://www.dropbox.com/sh/ss5clgtmefw9 ... Tamra?dl=0

Description of Capx
Plays a sound effect on button press

Steps to Reproduce Bug
  • Preview the app on an iOS device using safari (iPad 4 and iPhone 4s confirmed), play the sound so you know what a non-corrupted file sounds like.
  • Close safari
  • For the most consistent reproduce I recommend downloading one of the following , load to first screen.
    - Hitman Go
    - Prune
    - Disassembly 3D: Ultimate Stereoscopic Destruction <= Free
    (You could try your luck at other games or youtube, I have seen this occur but it is very random).
  • Load the preview address back on safari, play the sound, notice it is distorted or missing.

Observed Result
The sound is now distorted/corrupted or not present.
Both app preview and releasable packages.

Expected Result
The sound is not distorted.

Affected Browsers
  • Chrome: (/NO)
  • FireFox: (/NO)
  • Internet Explorer: (/NO)

Operating System and Service Pack
iOS 8 & 9

Construct 2 Version ID
r216 (has been present from at least r212)

Please, I have spent what to me is a lot of money on C2 and a year of hard work, this game is currently un-releasable.
To that end if there is anything I can do to help please let me know!
Last edited by majesticAsFk on Mon Nov 30, 2015 8:30 pm, edited 6 times in total.
B
13
S
4
Posts: 65
Reputation: 875

Post » Fri Nov 27, 2015 9:03 pm

Plays fine here on Ipad 3.
Not really going to buy a game to test for sound, sorry.

I would suggest getting rid of the dashes and underscores in the file name.
Also you can pull out the ogg for ios.
Image ImageImage
B
168
S
50
G
164
Posts: 8,238
Reputation: 105,595

Post » Fri Nov 27, 2015 10:40 pm

I've been downloading random games and found a few other examples that will provoke it, notably of the free variety:
Disassembly 3D: Ultimate Stereoscopic Destruction
https://itunes.apple.com/gb/app/disasse ... 04666?mt=8

I've no idea what it is either... luckily all you have to do is boot into the first screen (wait for the music) then open safari with my app preview.
I think It's important safari isn't already running.

Could you try this please @newt ?
Last edited by majesticAsFk on Fri Nov 27, 2015 11:09 pm, edited 2 times in total.
B
13
S
4
Posts: 65
Reputation: 875

Post » Fri Nov 27, 2015 11:04 pm

Added a video to the same dropbox folder using my capx and the free game above

https://www.dropbox.com/sh/ss5clgtmefw9 ... Tamra?dl=0
B
13
S
4
Posts: 65
Reputation: 875

Post » Fri Nov 27, 2015 11:35 pm

Without downloading the 348 mb app Im going to say from the vid that its an ios issue.
You might try researching it from that end, but all in all its not unacceptable to have issues switching apps on ios.
Image ImageImage
B
168
S
50
G
164
Posts: 8,238
Reputation: 105,595

Post » Sat Nov 28, 2015 9:20 am

Its not just switching apps (although that is best repro) there just has to be an app in the background, which I daresay everyone will have, that is not acceptable.
Furthermore switching to safari playing a non-C2 website works fine.

I welcome people to try genuine repro's but lets not add noise to the bug report! ;)
B
13
S
4
Posts: 65
Reputation: 875

Post » Sat Nov 28, 2015 12:54 pm

Im saying thats not a good reason to not release an app.
Image ImageImage
B
168
S
50
G
164
Posts: 8,238
Reputation: 105,595

Post » Sun Dec 20, 2015 3:20 am

I am having this problem also. Sound occassionally got distorted or missing on iOS too.
B
13
S
2
Posts: 6
Reputation: 716

Post » Tue Jan 05, 2016 6:49 pm

Same problem here. Has anyone been able to solve it, or have any ideas? We've had to submit an update removing the audio completely.
B
3
Posts: 4
Reputation: 183

Post » Thu Jan 07, 2016 4:23 pm

I've not been able to reliably reproduce this on an iPad Air 2 running iOS 9.2 - occasionally when bringing back Safari the audio would seem to cut out, but I never heard it playing distorted, and after a while it just worked every time. I'm not sure there's much we can do anyway - it sounds like a bug in iOS and the workarounds I've seen basically involve destroying the audio context and recreating it, but that is very difficult given C2's audio engine as pre-allocated audio buffers and effect chains which would all also need to be torn down and recreated, and then trying to support resuming audio (like the way music resumes when you bring back the app) would be incredibly difficult. I think we will just have to wait it out and hope the next iOS update fixes it.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,464

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest