• 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: AudioUnitRender() thread safe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioUnitRender() thread safe?


  • Subject: Re: AudioUnitRender() thread safe?
  • From: Benjamin Federer <email@hidden>
  • Date: Tue, 20 Sep 2016 14:28:22 +0200

Hello again,

since no-one commented on this I dare to interpret this as a) no-one knows or b) it is simply too obvious that the AUGraph API is the only thread-safe API dealing with audio units. Following either case I will treat AudioUnitRender() as unsafe.

Benjamin


> Am 15.09.2016 um 13:24 schrieb Benjamin Federer <email@hidden>:
>
> Hello everyone,
>
> I manage a couple of audio units in an AUGraph but pull the graph by calling AudioUnitRender() on the head node’s audio unit. Am I correct in assuming that calling AudioUnitRender() on any node’s audio unit is not thread safe if AUGraph API is being called on the same node, like AUGraphRemoveNode()?
>
> In case I am wrong, (how) is the AUGraph aware of any AudioUnitRender() calls made to its nodes? Or is the audio unit taking locks internally?
>
> Thanks,
> Benjamin


 _______________________________________________
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


  • Follow-Ups:
    • Re: AudioUnitRender() thread safe?
      • From: Hovik Melikyan <email@hidden>
References: 
 >AudioUnitRender() thread safe? (From: Benjamin Federer <email@hidden>)

  • Prev by Date: Re: How to correctly allocating CFStrings in an AudioFileRegionList?
  • Next by Date: Re: AudioUnitRender() thread safe?
  • Previous by thread: AudioUnitRender() thread safe?
  • Next by thread: Re: AudioUnitRender() thread safe?
  • Index(es):
    • Date
    • Thread