Based on test results from a few different audio interfaces on MacOSX, the results for getLatencyFromDevice() do not include the bufferSize and are therefore inconsistent with what is returned by other audio device types.
It seems to me that newBufferSize should be added to both inputLatency and outputLatency in juce_mac_CoreAudio.cpp - CoreAudioInternal::updateDetailsFromDevice().
Also, the current implementation ignores kAudioStreamPropertyLatency that myhrman called out on this thread. I’ve never seen it report anything other than 0, but it probably ought to be included.
- Steinberg UR22
- In-built speaker & mic
- Focusrite Scarlett 6i6
- ZOOM TAC-2