Hello! I use SoundEngine sample from CrashLanding sample Iphone SDK. When i run my project i found small memory leaks when sound engine initialize. Can anyone help me with this?
A:
It is a known bug prior SDK 2.2. I think the bug was fixed from SDK 2.2 on. But if you are compiling for SDK 2.2+ use AVAudioPlayer instead.
willi
2009-06-07 22:46:20
I tested on all sdk (2.1/2.2.1/3.0b5) CrachLanding and oalTouch sample have memory leaks on all this sdk.
2009-06-08 14:33:43
That's what I've read when I was working on sound. I ended up using AVAudioPlayer instead, we needed to compile to 2.2 anyway.
willi
2009-06-09 10:51:57
A:
You should be moving away from SoundEngine. I've heard people say that the switch to AVAudioPlayer is reasonably easy.
However, I wish Apple had just kept CrashLanding up-to-date. I've never seen anything comparable to it for learning the hardware in a hurry. Someone should step up to the plate with something that makes it as easy to do a 2D sprite game as CrashingLanding did. A lot of people learned from that code.
Nosredna
2009-06-07 22:52:31