Immediate sound feedback on Android

Randy Hengst iowahengst at mac.com
Wed Jun 1 08:38:17 EDT 2011


Hello Roger,

I've noticed the delay of sounds iOS with the first sound played in a stack…. it doesn't seem to matter which sound is played first, it's always delayed. But, from that point forward all sounds play immediately.

So, I've included a sound file that is a half second of silence and call it with the open stack or open card handler. Perhaps this will help with Android, too. I've not built for Android, so this is just a guess.

be well,
randy
-----
On Jun 1, 2011, at 6:23 AM, Roger Eller wrote:

> I can't get sounds to play at all on Android.  I have tried importing a .wav
> file into the stack, and also referencing the file via its path.  In both
> cases, there is a delay the first time the sound is played in the LiveCode
> IDE.  How can I insure the playback will be "immediate" when a button is
> touched?  Is there a best practice regarding embedding sounds -vs-
> referencing them for mobile?
> 
> ˜Roger
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list