Sound in the iOS Simulator
cmsheffield at me.com
Fri Feb 17 09:19:58 CST 2012
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?
Read Naturally, Inc.
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
> 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?
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode