Setting play SoundFile or play Empty Too Quickly Causes Crash in iOS

Brahmanathaswami brahma at hindu.org
Sat Sep 12 00:32:39 EDT 2015


see other response:

it works fine as long as I don't use

play empty

which is what the docs tell us to use for stopping this on mobile... 
instead it causes the crash

if we do

play nadanada

which is, basically as you recommend: passing and empty param.. that 
stops the play without crashing the app.

But now... I have issues with streaming audio... see new thread


J. Landman Gay wrote:
> 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. 





More information about the use-livecode mailing list