• 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: Garbage Collection vs Core Audio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Garbage Collection vs Core Audio


  • Subject: Re: Garbage Collection vs Core Audio
  • From: Michael Hopkins <email@hidden>
  • Date: Thu, 24 Jan 2008 12:57:21 -0800

Todd,

There are three different settings for objective-c garbage collection:
	Unsupported (which is the default setting for XCode)
	Supported
	Required

If a plugin is compiled with the Supported code generation option, it should work in both gc and non-gc environments. An unsupported plugin would crash in a GC required host as would a gc required plugin in an unsupported host.

The coreaudio sdk has a sample host application in /Developer/Examples/ Audio/Services/ called CocoaAUHost. This host supports garbage collection and you can use it if you want to experiment. At this time, however, I know of no shipping commercial audio unit host that supports garbage collection. Not sure when they plan to support this feature.

Hope this helps!

-michael

On Jan 23, 2008, at 5:51 PM, Todd Blanchard wrote:

A thread on the Cocoa list implies that any app that uses plugins can only use plugins that were compiled with the garbage collection option set the same. IOW, an AU host compiled with GC on, can only load AU's compiled with GC turned on?

Or is GC something that just doesn't make sense in an audio processing situation for performance reasons?

Just wondering where this is going. Are AU's all going to use GC one day or is this not at all likely?

-Todd Blanchard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Garbage Collection vs Core Audio (From: Todd Blanchard <email@hidden>)

  • Prev by Date: afconvert creating files that will not play
  • Next by Date: Re: Automation woes
  • Previous by thread: Garbage Collection vs Core Audio
  • Next by thread: Using AudioConverter to create compressed audio
  • Index(es):
    • Date
    • Thread