Re: leak in a sound function
Re: leak in a sound function
- Subject: Re: leak in a sound function
- From: David Duncan <email@hidden>
- Date: Mon, 24 Aug 2009 09:58:48 -0700
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@hidden)
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:
This email sent to email@hidden