sound loop breaks after some time in background music in iphone app

Posted by amy on Stack Overflow See other posts from Stack Overflow or by amy
Published on 2010-04-06T05:55:19Z Indexed on 2010/04/06 7:43 UTC
Read the original article Hit count: 229

Filed under:
|
|
|

I am playing sounds in loop in my app. So it should continue playing through out the app. but sometimes it stops after playing sound for 3/4 times.I don't understand whats happening. I am using audio-toolbox framework for playing sound. creating audio queue and then playing sounds in loop. I am also playing sound from ipod library using mediaplayer. Same thing happening with song from ipod. I have set [musicPlayer setRepeatMode: MPMusicRepeatModeOne]; but still it stops after 3/4 times.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about audiotoolbox