• 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: Question: What is the impact of changing .cpp AudioUnitEffectsource to .mm
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question: What is the impact of changing .cpp AudioUnitEffectsource to .mm


  • Subject: Re: Question: What is the impact of changing .cpp AudioUnitEffectsource to .mm
  • From: Iain Houston <email@hidden>
  • Date: Tue, 22 Jun 2010 10:50:23 +0100

On 21 Jun 2010, at 23:03, William Stewart wrote:

> We deliberately do not create GC contexts on the I/O thread, so doing any operation with the ObjC runtime on that thread will crash in snow leopard in a GC app. ... using CF on the I/O thread as well is not advised ....

Bill, that's really useful, thanks.
A(nother) naive question follows. Will it always be obvious when we are operating on the I/O thread? e.g. an audio unit rendering callback is presumably on the I/O thread, but conversely an audio session property listener is presumably not running on the I/O thread as it is provided a CFDictionaryRef ... or it is, but it is not deemed time-constrained?
Is there a simple deciding rule for us to determine when we are running on the I/O thread and when not?
Regards - Iain.
 _______________________________________________
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

  • Prev by Date: How to connect AU with external apps
  • Next by Date: Re: How to connect AU with external apps
  • Previous by thread: Re: How to connect AU with external apps
  • Next by thread: How to access the output stream in AUGraph
  • Index(es):
    • Date
    • Thread