Commit 7456eb31 authored by Junbo Ke's avatar Junbo Ke Committed by Commit Bot

[Chromecast] Add support for Querying current HDMI latency.

Bug: internal b/77732025
Test: None
Change-Id: Ie2ff3535c3e560bf667f10d25b16922beaeba0f9
Reviewed-on: https://chromium-review.googlesource.com/1072871Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
Commit-Queue: Junbo Ke <juke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566660}
parent 6d08d527
......@@ -228,6 +228,13 @@ class AvSettings {
// Not all displays support this function.
static bool GetDisplayMaxBrightnessNits(float* nits) __attribute__((weak));
// Gets the HDMI latency in microseconds.
// Returns valid values when HDMI is connected.
// Returns 0 when HDMI is not connected or when the latency cannot be
// measured.
// This function should only be implemented on HDMI platforms.
static int GetHdmiLatencyUs() __attribute__((weak));
// Returns the type of volume control, i.e. MASTER_VOLUME, FIXED_VOLUME or
// ATTENUATION_VOLUME. For example, normal TVs, devices of CEC audio
// controls, and audio devices are master volume systems. The counter
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment