On Aug 23, 2009, at 9:53 AM, Agha Khan wrote:
When I call this function 2nd time I get a leak. I am unable to
figure out what I am doing wrong. Please note if I call this
function once there is no leak.
SoundEngine_Initialize(44100);
Please do not use SoundEngine. It was pulled from the sample code
because there were a number of design flaws that lead to many issues,
such as the leak you are seeing here. Use the AVAudioPlayer class or
OpenAL directly instead.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]