Audio Unit V3 in AUGraph

When an audio unit v3 requires an async Instantiation (kAudioComponentFlag_RequiresAsyncInstantiation) the standard AUGraph api AUGraphAddNode fails to create a node.

So I opted to use the async call AudioComponentInstantiate that returns an AudioUnit,

but once I had an instance of the AudioUnit I cannot use the AUGraph api to add it in as an AUNode

how can I connect the audio unit into my graph?

is the only solution to use kAudioUnitProperty_MakeConnection directly on the AudioUnit?


Thanks

Replies

Hi Leonardo,

I'm trying to achieve the same outcome, I need to employ a third party AUv3 with an AUGraph implementation (i.e Spotify streaming SDK).


Any chances you found a solution to the problem?


Thanks in advance.


Cheers,

Luca