AVAudioPlayer Memory Leak - Media Player Framework

Posted by Krishnan on Stack Overflow See other posts from Stack Overflow or by Krishnan
Published on 2010-05-15T15:28:01Z Indexed on 2010/05/15 15:34 UTC
Read the original article Hit count: 342

Filed under:
|

Hi Friends,

I am using AVAudioPlayer object to play an audio. I create an audioPlayer object initially. I play an animation and when ever animation starts I play the audio and pause the audio when the animation is finished. I initially found three memory Leaks using Instruments. (The responsible caller mentioned was RegisterEmbedCodecs). After suggestion from a "ahmet emrah" in this forum to add MediaPlayer framework, the number of leaks reduced to one. And is there any way to completely get rid of it?

Thanks and regards, krishnan.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about avaudioplayer