AVAudioSinkNode v.s AVAudioNode "installTap(::)"

I'm trying to understand the difference between the use of an AVAudioSinkNode v.s installTap() on an AVAudioNode.

In "WWDC 510 - Whats new in core audio" https://developer.apple.com/videos/play/wwdc2019/510, the presenter states that AVAudioSinkNode works in a realtime context (better for VOIP, for example) where as installTap() on an AVAudioNode does not.

It's unclear to me why one is better to use over the other. Why is AVAudioSinkNode better for realtime apps over using installTap()??

Answered by Sniper180 in 685929022

Looks like AVAudioSinkNode outputs buffers every 1024 frames, while AVAudioNode installTap() outputs at 4096 (or greater).

Accepted Answer

Looks like AVAudioSinkNode outputs buffers every 1024 frames, while AVAudioNode installTap() outputs at 4096 (or greater).

AVAudioSinkNode v.s AVAudioNode "installTap(::)"
 
 
Q