Sound loops in iOS

John Dixon dixonja at hotmail.co.uk
Wed Feb 29 11:38:31 EST 2012



Graham...

I have found that to get around the 'ldelay' when using 'iphonePlaySoundOnChannel' in your stack for the first time is to play a short file containing 'silence' in say the openStack handler... the response of issuing the 'iphonePlaySoundOnChannel' command seems to be fine after that...

> For those that are interested, RunRev Support has acknowledged that the 'looping' option doesn't  work in iOS 'play' statements in LC 5.0.2. They say:
> This is a bug, we have reported this to the Quality Control Center. The bug report number is 10039. You can also track the bug here:
> http://quality.runrev.com/show_bug.cgi?id=10039
> 
> Let's hope it's fixed soon, because I'm finding the alternative, which is the use of sound channels, introduces an unacceptable delay the first time a sound is played. There may be some trick for pre-loading sounds but I haven't found it.
> 
> Graham

 		 	   		  


More information about the use-livecode mailing list