Fix CoreAudio systemic latency, implement hw latency report

This commit is contained in:
Robin Gareus 2020-02-24 04:24:50 +01:00
parent 53a6c24147
commit a9c75f9760
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 25 additions and 2 deletions

View file

@ -474,7 +474,9 @@ CoreAudioPCM::get_latency(uint32_t device_id, bool input)
for (size_t i = 0; i < stream_latencies.size(); ++i) {
max_stream_latency = std::max(max_stream_latency, stream_latencies[i]);
}
#if 0
latency += max_stream_latency;
#endif
return latency;
}