Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: ppapi/proxy/ppb_audio_proxy.h

Issue 22320004: Add a new parameter |latency| to PPB_Audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c ('k') | ppapi/proxy/ppb_audio_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_audio_proxy.h
diff --git a/ppapi/proxy/ppb_audio_proxy.h b/ppapi/proxy/ppb_audio_proxy.h
index fa887de7f1a0000e5b001d050ecbd9132bbd934f..cc8af6cb9daeafb728143d3448e7dcc383e57c3c 100644
--- a/ppapi/proxy/ppb_audio_proxy.h
+++ b/ppapi/proxy/ppb_audio_proxy.h
@@ -21,6 +21,7 @@
namespace ppapi {
+class AudioCallbackCombined;
class HostResource;
namespace proxy {
@@ -33,11 +34,11 @@ class PPB_Audio_Proxy : public InterfaceProxy {
virtual ~PPB_Audio_Proxy();
// Creates an Audio object in the plugin process.
- static PP_Resource CreateProxyResource(PP_Instance instance_id,
- PP_Resource config_id,
- PPB_Audio_Callback audio_callback,
- void* user_data);
-
+ static PP_Resource CreateProxyResource(
+ PP_Instance instance_id,
+ PP_Resource config_id,
+ const AudioCallbackCombined& audio_callback,
+ void* user_data);
// InterfaceProxy implementation.
virtual bool OnMessageReceived(const IPC::Message& msg);
« no previous file with comments | « ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c ('k') | ppapi/proxy/ppb_audio_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698