Android Chrome's loss of sound

1 favourites
  • 15 posts
From the Asset Store
Grenade Sound Library
$3.20 USD
60% off
Grenade Sound Library contains: 135 sounds 50 grenade sounds and 85 surface sounds
  • Problem Description

    Sound is still lost under these circumstances:

    When device goes to sleep and the looping audio was active it's alright.

    But if there was no audio at the moment the device was left inactive - audio is lost (and somehow one of my games becomes buggy and unplayable)

    My workaround: Play inaudible sound every 1sec all the time. It fixes the problem (even the latter buggyness..<img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> )

    Attach a Capx

    https://dl.dropboxusercontent.com/u/714 ... ndBug.capx

    Description of Capx

    Info is inside the Capx

    Steps to Reproduce Bug

      Explained inside Capx

    Observed Result

    Loss of audio

    Expected Result

    No loss of audio when gettin back to the game

    Affected Browsers

    • Chrome: YES

    Operating System and Service Pack

    W10

    64

    Construct 2 Version ID

    227

  • Everyone who wants to make the same workaround as I did, here is the inaudible sound: https://dl.dropboxusercontent.com/u/714 ... xSound.zip

    Enjoy;)

  • Thanks. I also noticed the "bug" came back

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If this doesn't happen in any other browsers, it's a Chrome bug, and probably related to the previous issue which was also a Chrome bug. There's not much point posting those here, best to file a report on the Chromium bug tracker.

  • Ashley

    You did your successful workaround before. But the only downside was some constant audio burps every some time. (Maybe there was some other probs I am not aware of)

    My sound (which I posted the link to it on this topic before) is almost totally inaudible (you would need max audio level with headphones to hear a very very little of it)

    So you can use my sound to integrate this workaround again which would not cause any problems.

    Thanks and Peace

    P.S. Gonna post this bug on Chromium

  • The last workaround broke compatibility with old browsers, which is typical: ugly hacks to work around bugs often break other things, and they're very hard to test and get right. I think it's better to wait for the browser to be fixed...

  • Posted on Chromium bugs list: https://bugs.chromium.org/p/chromium/is ... ?id=609292

  • Heh I was running into this today when I finally got my game working on Android, sound would randomly cut off after a short play session and no more sounds at all. Music however, plays fine!

    It seems to not affect music normally. However, on suspend and resume, there's no audio whatsoever.

    Jesus google chromium always manages to reintroduce breaking bugs. /facepalm

    I'm going to test playing this sound every second to see if it resolves the issue. But this is impacting Webview & XDK Crosswalk.

  • I can report that yes, playing a sound every 1 second does indeed fix the issue.

  • Ahhh. Post that You have this bug here too: https://bugs.chromium.org/p/chromium/is ... ?id=609292 Needs more attention <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Everyone who wants to make the same workaround as I did, here is the almost inaudible sound: https://dl.dropboxusercontent.com/u/714 ... xSound.zip

    Enjoy;)

    Thanks Ignaci, I can report your work around worked for me. I was experiencing this problem with my game: sound effects stopping after a short period of inactivity (2mins approx).

    This was an Android app, built in XDK testing on an Android Nexus5 (not testing in the chrome browser).

    Using this work around my sound effects don't crap out, even after extended periods of inactivity (+20 mins)

  • do you know if this is still an issue? because it's definitely happening to me.. can someone repost the work around link?

    or is it literally just an empty sound file playing every 1 second?? how does that even fix this problem>?

    thanks!

  • do you know if this is still an issue? because it's definitely happening to me.. can someone repost the work around link?

    or is it literally just an empty sound file playing every 1 second?? how does that even fix this problem>?

    thanks!

    Hey! Yes that was it in that workaround, You are right. Best of Luck!

  • Hey! Yes that was it in that workaround, You are right. Best of Luck!

    thanks.. do you load this empty sound into the sounds folder or music folder?

  • wow, that works.. now that is weird.. how did you figure that out??

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)