• 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: Wed, 21 Sep 2016 10:17:59 +0200

> I am pretty sure there is. According to one discussion on this list,
> for example AudioOutputUnitStop() waits until a rendering cycle ends
> in case it's called from outside of the audio thread. Which means
> CoreAudio has proper synchronization mechanisms in place.

That is interesting. I’ll try to find the discussion.

> In my opinion the benefits of having an AUGraph in advanced audio apps
> are minimal. Even TAAE has switched to pure non-AUGraph architecture
> in its 2.0 rewrite. You have to get synchronization right of course,
> but at least you will not be dealing with a poorly documented black
> box.

I don’t know what you mean by advanced audio app. For my current use case I am satisfied with AUGraph in terms of API and functionality. Documentation is sparse as always but sufficient enough. I even dare to say that it is the Core Audio API that caused the least of my confusions. It might make sense for TAAE as a wrapper to omit another wrapper layer, of course.
 _______________________________________________
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: 
 >AudioUnitRender() thread safe? (From: Benjamin Federer <email@hidden>)
 >Re: AudioUnitRender() thread safe? (From: Benjamin Federer <email@hidden>)
 >Re: AudioUnitRender() thread safe? (From: Hovik Melikyan <email@hidden>)
 >Re: AudioUnitRender() thread safe? (From: Benjamin Federer <email@hidden>)
 >Re: AudioUnitRender() thread safe? (From: Hovik Melikyan <email@hidden>)

  • Prev by Date: core audio iOS, multiple input sources
  • Next by Date: Need help resolving auval failure : ERROR: -4 IN CALL MusicDeviceSendMIDI
  • Previous by thread: Re: AudioUnitRender() thread safe?
  • Next by thread: Re: MusicSequenceFileLoad Crash on iOS10 (AudioToolbox/MusicPlayer)
  • Index(es):
    • Date
    • Thread