• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: leak in a sound function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >leak in a sound function (From: Agha Khan <email@hidden>)

  • Prev by Date: Re: I am not sure which message I have to trust?
  • Next by Date: Re: Simple array controller master-detail binding problem
  • Previous by thread: Re: leak in a sound function
  • Next by thread: Running shell scripts as root.
  • Index(es):
    • Date
    • Thread