summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_perftest_support.h
diff options
context:
space:
mode:
authormiu <miu@chromium.org>2014-09-09 12:23:01 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-09 19:41:39 +0000
commit182520b878bee21aad3500391cd51d486e37bf1e (patch)
tree2532badd1ae5499fd26992138c12fa8e14ec8575 /ipc/ipc_perftest_support.h
parent8d5adf5b8a017eeb9e3a6972b77725a1a8b1709b (diff)
downloadchromium_src-182520b878bee21aad3500391cd51d486e37bf1e.zip
chromium_src-182520b878bee21aad3500391cd51d486e37bf1e.tar.gz
chromium_src-182520b878bee21aad3500391cd51d486e37bf1e.tar.bz2
[Cast] Track audio queued in encoder; account for it in ShouldDropNextFrame().
This change is a prerequisite for transitioning the "max outstanding frames" decision logic over to a time-based heuristic. It adds tracking of the number of audio samples enqueued in the encoder, from which the needed backlog stats can be determined. Also, this introduces an abstract method in FrameSender, GetNumberOfFramesInEncoder(), since this is computed differently for audio versus video. BUG=404813 Review URL: https://codereview.chromium.org/545593002 Cr-Commit-Position: refs/heads/master@{#293987}
Diffstat (limited to 'ipc/ipc_perftest_support.h')
0 files changed, 0 insertions, 0 deletions