Neither Play nor iPhonePlaySoundOnChannel working on iPad

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Neither Play nor iPhonePlaySoundOnChannel working on iPad

Post by grovecat » Tue Jul 24, 2012 11:38 am

I started a new thread on this problem because it has expanded beyond what I thought was its scope. LiveCode apps that previously worked properly on my iPad 3 no longer generate any sound, either with the Play command or iPhonePlaySoundOnChannel. Yet these same apps still work perfectly well on an iPod touch under the same operating system (iOS 5.1.1).

The obvious thing to try was a restore of the iPad, and iTunes reported that the backup was corrupted and could not be used -- but it went ahead and used it anyway. Same result, so I did another restore and this time elected to treat the iPad as a new device with nothing on it except the default Apple apps. And it still won't produce sounds from my LiveCode apps. I've tried other non-Apple apps with sound and they all work as expected.

I don't think Apple will want to know about this problem because I can't demonstrate anything that doesn't work apart from LiveCode apps.

So I don't have a clue what I can possibly try next, and I would be very grateful for helpful suggestions.

TIA
Don

grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Re: Neither Play nor iPhonePlaySoundOnChannel working on iPa

Post by grovecat » Tue Jul 24, 2012 12:37 pm

A further possible clue is that I don't get any sound from videos either, with LiveCode apps.

Doesn't help me but it may strike a bell with someone.

Cheers
Don

Randy Hengst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 157
Joined: Thu Jun 29, 2006 4:16 pm

Re: Neither Play nor iPhonePlaySoundOnChannel working on iPa

Post by Randy Hengst » Tue Jul 24, 2012 3:49 pm

Hi Don,

This same thing happened to me... and I had turned off the sound on the iPad. I hope your situation can be resolved by sliding the sound switch on the iPad. If not, I don't have a suggestion.

be well
randy

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Neither Play nor iPhonePlaySoundOnChannel working on iPa

Post by jacque » Tue Jul 24, 2012 6:36 pm

What's the exact file path you're using for the sound files?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Re: Neither Play nor iPhonePlaySoundOnChannel working on iPa

Post by grovecat » Wed Jul 25, 2012 1:34 am

I knew the iPad was not muted because it was happily playing music from the Music app and working with others as well -- just not the LiveCode apps.

However, following Randy's post I moved the slider to mute and back again, and it fixed the problem with LiveCode apps. Seems to defy common sense but the main thing is that I am now back in business.

Thanks
Don

strongbow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 146
Joined: Mon Jul 31, 2006 1:39 am
Contact:

Re: Neither Play nor iPhonePlaySoundOnChannel working on iPa

Post by strongbow » Mon Jul 30, 2012 1:17 pm

Saw some youTube video about this recently - it seems that some apps cause a crash in the Sound sub-system in iOS and that you can re-set this... it was as simple as you say, to set the volume to 0 and then to put it back up.

Just had another look and video for reference is at http://www.youtube.com/watch?v=NUUB1EAzzZE

cheers

Alan

grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

Re: Neither Play nor iPhonePlaySoundOnChannel working on iPa

Post by grovecat » Mon Jul 30, 2012 1:58 pm

Thanks for that, Alan

At one stage I was doubting my own sanity with that problem and I am glad to have an explanation.

Cheers
Don

Post Reply