Skip to content
Snippets Groups Projects
Commit c8cd58f9 authored by Thomas Guillem's avatar Thomas Guillem Committed by Felix Paul Kühne
Browse files

coreaudio: don't call AudioUnit API from the render callback

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
parent 32160df7
No related branches found
No related tags found
1 merge request!2924coreaudio: don't call AudioUnit API from the render callback
Pipeline #290622 passed with stage
in 16 minutes and 16 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment