Mantis

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0025878Runner[All Projects] AudioPublic2017-03-08 12:042017-08-04 16:51
ReporterKevin Brown 
Assigned ToFritz 
PriorityHighSeverityB - MajorReproducibility100%
StatusClosedResolutionFixed 
PlatformOSOS Version
Summary0025878: Audio: OpenAL does not correctly handle interruptions on mobile
DescriptionCertain OS-related events will crash OpenAL and make the audio not work anymore for the rest of the game's run time. Such cases include:
A. iOS:
- Entering a phone call and then running the game
- Playing music then running the game
- Receiving a phone call while already running the game
The first two cases crash OpenAL just as the game starts.
B. Android:
- Entering the game while having an application that plays audio in the background seems to randomly also trigger this issue

iOS reproducibility is 100%. Tested with iPhone 7, iOS 10.
On Android, the reproducibility is not 100%. We were unable to reproduce this issue with the devices at hand, although we tested on a wide variety. The way we could find out that this is an issue on Android as well was through a 10 thousand user acquisition campaign and gazing at the analytics that showed 25-40% of the users were unable to play the game as the sound would not start.

As mentioned before, this affects every GM game. If you want to test, just run any GMS game on iOS (or the attached example), then call the target phone. The sound will be lost.

In order to speed things up, here are some answers for questions you might have:
- Yes, we have tried audio groups; The issue persists.
- We have tried different formats (all of them), it does not seem to matter whether or not it is in RAM, on the Storage, Compressed or Uncompressed
- Yes, we are using the new audio engine
- We have also tried the legacy sound (with the appropriate functions, not the audio_* ones); The issue persists.
Additional InformationOriginally reported from: https://yoyogames.zendesk.com/agent/tickets/120170 [^]
1.4 Version1.4.1763
2.x Runtime Version2.0.5.
2.x Runtime Version Verified In
Attached Files? file icon openAL.gmz [^] (958,491 bytes) 2017-03-08 12:04

- Relationships

-  Notes
(0052520)
Fritz (Developer)
2017-03-28 15:47

I've fixed the issue on iOS, but can't reproduce the issue mentioned on Android - I believe this will be an unrelated issue as the iOS fix was in platform specific code and will thus require some more info as to how to reproduce it.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker