Graham,

There was a bug at one point that would cause a hang because "the sound" would 
never return "done". But I thought it had been fixed. Not sure in which version 
of LiveCode, however. Which version are you using?

Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

On Feb 17, 2012, at 3:39 AM, Graham Samuel wrote:

> I had a couple of statements in my iOS app:
> 
> play "xylo.aif"
> wait until the sound is done
> 
> Works fine in the IDE, but never reaches 'done' status in the simulator - 
> 'the sound' returns the file name, or exactly
> 
> //xylo.aif
> 
> This value is (I think) what LC is expected to return on iOS with a sound 
> that's playing. By commenting the 'wait' out, all went well. The sound didn't 
> play, but that's probably a path problem. According to the LC Dictionary, a 
> 'wait' will always return 'done' if no sound is playing. Well, I didn't hear 
> anything, so I should have got 'done', shouldn't I?
> 
> Can anyone explain this?
> 
> Graham
> 
> 
> _______________________________________________
> 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


_______________________________________________
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

Reply via email to