How do I fix audio delay for Android?

0 favourites
  • 9 posts
From the Asset Store
100+ Musical High Quality Sound Effects for your game!
  • Hey everyone,

    Whenever I preview my game on my laptop, the audio works fine. But whenever I run it on my S4, there's a slight delay in the audio. I don't think I did anything wrong in the event sheet. This is one event from my event sheet:

    Soccerball | on collision with post ---> Audio | Play 'SFX - soccerball hitting post'

  • Did you try preloading the sound at the start of the layout?

  • Did you try preloading the sound at the start of the layout?

    I tried that, unfortunately it didn't work

  • I should have also mentioned before, I have an iTouch from the 5th gen. There is no audio delay on that device.

  • That's odd, can you post a link to the capx? I think your rep is too low to post it with a period in there but if you removed the "." in the ".com" maybe I can see what's going on there. That or maybe a screenshot of your event sheet? Either way, please leave your preload audio event in so I can see where you have it.

  • That's odd, can you post a link to the capx? I think your rep is too low to post it with a period in there but if you removed the "." in the ".com" maybe I can see what's going on there. That or maybe a screenshot of your event sheet? Either way, please leave your preload audio event in so I can see where you have it.

    Here's a screenshot

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I thought I'd look into this further and found this:

    Since it runs fine on the idevice and the PC perhaps there's a connection

    My next idea is trying it on other android devices and making sure it isn't something specific to your S4.

    Otherwise I honestly feel like I'm grasping at straws. If you're previewing over the network you can try an full export and see if the issue persists. I'd also try moving the preload event to the top of the event sheet, though I'm not sure that would achieve anything. If all else fails, make a bug report and submit the capx.

  • I moved the preload event to the top of the event sheet and it didn't make a difference. I also previewed my game on an S6 and there's not too much of a delay. I still haven't exported my game yet but I will. Thanks for all your help!

  • I tried moving all the Music files into Sound folder. I am not sure the "side effect" doing this. Maybe someone can explain, if there is any side effect. All background musics play well on my android now. No delay at all.

    This is what I do:

    1. Make sure the Preload Sounds property is set to Yes.

    2. EVENT: System: On start of Layout > Audio: Play <sound name>

    No need to use the Preload sound action.

    I hope this help

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