1

I am starting to get into Core Audio and yesterday I was thinking about performance on a high level.

Let's say I have one oscillator and one filter - is there then any performance difference in doing these as two units and connect them in the engine, as opposed to doing them as one unit? On the surface one could think that multiple audio units can run in parallell giving better performance on multi core systems, but my understanding is that the realtime thread for the audio is just that - one thread.

So does this mean that there is one thread for the whole graph and that there is no pure performance benefit to splitting things into multiple audio units?

Kenny Lövrin
  • 781
  • 5
  • 15
  • There is only a [single high priority audio thread](https://stackoverflow.com/a/22470796/8876321) on macOS, though I wish I could find a solid citation for that. Hosts may behave differently, however, one way to check would be to look at the thread count in Activity monitor and turning plugins on and off for a specific host. The [JUCE Forums](https://forum.juce.com) will likely give you more insight than SO on this topic. – fdcpp Mar 06 '20 at 10:51

0 Answers0