summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2010-10-12 13:31:25 -0400
committerDerek Sollenberger <djsollen@google.com>2010-10-12 13:35:52 -0400
commit49bf866973cb3b2a6c74c0eab864e9562e4cbab1 (patch)
tree2933d12d270016514adacc9944d6c700c98a3319 /WebCore
parenta39c13e25b52556c223922cee179cd711a0a89ee (diff)
downloadexternal_webkit-49bf866973cb3b2a6c74c0eab864e9562e4cbab1.zip
external_webkit-49bf866973cb3b2a6c74c0eab864e9562e4cbab1.tar.gz
external_webkit-49bf866973cb3b2a6c74c0eab864e9562e4cbab1.tar.bz2
Add new API for plugin audio track latency.
This CL extends the existing udio API with a new function to measure the latency of a audio track. To preserve binary compatibility with the already released v0 API we have created a v1 extension. Change-Id: I656ac10470f2262bac7039aa45458d2100a37612 http://b/3088633
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/plugins/android/PluginViewAndroid.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/plugins/android/PluginViewAndroid.cpp b/WebCore/plugins/android/PluginViewAndroid.cpp
index cb069bc..f0890ae 100644
--- a/WebCore/plugins/android/PluginViewAndroid.cpp
+++ b/WebCore/plugins/android/PluginViewAndroid.cpp
@@ -91,6 +91,7 @@
///////////////////////////////////////////////////////////////////////////////
extern void ANPAudioTrackInterfaceV0_Init(ANPInterface* value);
+extern void ANPAudioTrackInterfaceV1_Init(ANPInterface* value);
extern void ANPBitmapInterfaceV0_Init(ANPInterface* value);
extern void ANPCanvasInterfaceV0_Init(ANPInterface* value);
extern void ANPEventInterfaceV0_Init(ANPInterface* value);
@@ -115,6 +116,7 @@ struct VarProcPair {
static const VarProcPair gVarProcs[] = {
{ VARPROCLINE(AudioTrackInterfaceV0) },
+ { VARPROCLINE(AudioTrackInterfaceV1) },
{ VARPROCLINE(BitmapInterfaceV0) },
{ VARPROCLINE(CanvasInterfaceV0) },
{ VARPROCLINE(EventInterfaceV0) },