x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Continous sound fine on PC, stops on mobile

Hi all, In my game I have a sound on a level that is supposed to play continuosly (loop). This works fine on my laptop, but it doesn't loop on my tablet. Any ideas?

Product Version: UE 4.12
Tags:
more ▼

asked Jul 22 '16 at 04:55 PM in Using UE4

avatar image

agiro
95 8 12 18

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

If I'm not mistaken, the audio ticks in the main thread - which means that on low-perf devices, if you're unlucky and that, whenever the sounds need to be looped, your main thread is busy doing something else, it will not be able to do it on time. The new audio engine should take care of that but I have not idea when it's due.

A workaround would be to fade in/out the same sound but depending on the sound be wary of phasing issues.

Otherwise, really cheap (although not in terms of memory) workaround: play a longer sounds, with many iterations of the loop rendered offline.

more ▼

answered Jul 23 '16 at 10:42 AM

avatar image

G4m4
690 27 15 34

avatar image agiro Jul 23 '16 at 11:49 AM

Yes, low end tablet mine is, that's for sure. So you say it would work just fine on med to high devices? If so I won't modify, the game takes way too much concentration that the player probably won't even notice :D

avatar image G4m4 Jul 25 '16 at 02:22 PM

Well you still have a chance - as for all things multithreading it's all about timing. A low-end platform only means you have higher chances to encounter such a behaviour; but as soon as your games get a bit more costly (performance wise) you might have the same issues on higher-end platforms.

avatar image agiro Jul 25 '16 at 02:45 PM

I don't think it will get stronger, it is finished, very simple with only widgets in it, some basic BP involved. I leave it like this, and upon uploading I correct this and that if necessary. In fact I like it better w/o that crackling sound looping :D

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question