Immediate sound feedback on Android

Roger Eller roger.e.eller at sealedair.com
Wed Jun 1 09:50:11 EDT 2011


On Wed, Jun 1, 2011 at 8:38 AM, Randy Hengst wrote:
>
> 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
> >

That's a great tip Randy!  I'll give it a try and report back the
results >if< I can get it to play on Android at all.

~Roger




More information about the use-livecode mailing list