I am using an AVAudioPlayer object to play sound. First I created an audioPlayer object. I play the animation, and when the animation starts, I play the audio and pause the sound when the animation is finished. I originally discovered three memory leaks with tools. (The responsible caller was RegisterEmbedCodecs). After the "ahmet emrah" sentence in this forum, to add MediaPlayer, the number of leaks was reduced to one. And is there a way to completely get rid of it?
Thanks and greetings, Krishnan.
source
share