play sound properly in phoneGap

Get help using Construct 2

Post » Mon May 27, 2013 10:50 pm

I have a strange problem with phoneGap, it plays the first 4 triggered audio files and then ignore the rest.
the first played sound has an event on "tag" ended - play again, and that works fine, this sound is played over and over without a problem.
i tried preloading, preloading on previous layout, import as sound, import as music, play action, play by filename action.
all sounds were imported the same way from a wave file, then encoded to 128b and have both mp4 and ogg files.
i tried removing the looped sound, it didn't help.

Anyone got any ideas?

Thanks.
Image
B
66
S
26
G
12
Posts: 508
Reputation: 11,943

Post » Tue May 28, 2013 10:48 am

After an extensive search, i found this tutorial dated back more than a year:
https://www.scirra.com/tutorials/283/phonegap-low-latency-audio

Is this still relevant to construct 2 v132 and phonegap-build v2.7.0?

If so and it will fix my problem, what downgrades should i expect switching from phonegap 2.7.0 to 1.4.1?
Image
B
66
S
26
G
12
Posts: 508
Reputation: 11,943


Return to How do I....?

Who is online

Users browsing this forum: 20170217, alimuqaddas, Lancifer, MadSpy, Zion and 3 guests