• Dale Curtis's avatar
    Include stream latency for macOS audio latency calculations. · 973509d4
    Dale Curtis authored
    We were incorrectly ignoring the stream latency component when
    calculating the fixed latency of streams. This needs to be done
    for both input and output.
    
    Since these methods are very similar I've refactored the one our
    input and output streams had into a common AudioMangerMac method.
    
    BUG=783282
    TEST=none
    
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    Change-Id: Ic583a2f314728b566a5a3e3de8c8ffd118652f91
    Reviewed-on: https://chromium-review.googlesource.com/764542
    Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
    Reviewed-by: default avatarOlga Sharonova <olka@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#516056}
    973509d4
audio_manager_mac.cc 49.3 KB