mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
Fix CoreAudio systemic latency, implement hw latency report
This commit is contained in:
parent
53a6c24147
commit
a9c75f9760
3 changed files with 25 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue