tags:

views:

56

answers:

1

I have a wav file that was working fine. It is played using the AudioServices methods. Suddenly it stopped working. The weird thing is if i change he wav file to a different one that works. Any idea what is going on? The non working sound is slightly longer (still <10seconds) but it was originally working so I just can't figure it out.

Any suggestions of what to try would be most appreciated. Thanks :-)

A: 

AudioServices won't play sounds longer than 5 seconds. Playing longer sounds will require using a different Audio approach.

Here's a decent example of playing sounds with another method: http://iphoneincubator.com/blog/tutorial/how-to-play-audio-with-the-iphone-sdk

Maha