On 9/11/2015 6:06 PM, Brahmanathaswami wrote:
I have the following behavior running in a series of buttons that play
audio which is local to the app.
They work fine on the desktop (OS X) but in iOS if I click on any
button too soon, the app crashes.
I've done some tests and I have to wait at about 5.5 seconds before
clicking again, if we allow the app to have this time... then it does
not crash.
This "must wait" delta is more than users would want to experience.
Do you have to show a player and controller? If not, you might have
better luck with mobilePlaySoundOnChannel. You can pass empty as a
parameter to the channel to stop the playback. And if reloading the same
channel with a new sound isn't quick enough, you can always just play
the next sound on a different channel.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode