cleanup/refactor delay computation functions into get/setInputDelay and use...
cleanup/refactor delay computation functions into get/setInputDelay and use these in getMaxGlobalDelayNs
cleanup/refactor delay computation functions into get/setInputDelay and use these in getMaxGlobalDelayNs