-
It is very unlikely that AudioUnitGetProperty(kAudioUnitProperty_Latency) can change midstream (contrary to [AVInstance outputLatency]), so only fetch this latency when starting the AudioUnit. This fixes a deadlock between the render callback and AudioUnitStop(). Fixes #27591
c8cd58f9