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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_audio.srpc

Issue 7740013: Cloning a bunch of stuff from the native_client repository at r6528 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_audio.srpc
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/ppb_audio.srpc (revision 0)
+++ ppapi/native_client/src/shared/ppapi_proxy/ppb_audio.srpc (revision 0)
@@ -0,0 +1,49 @@
+# Copyright (c) 2010 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This file declares the RPC methods used to implement PPB_Audio
+# calls from the plugin. The functions are described in
+# ppapi/c/ppb_audio.h.
+{
+ 'name': 'PpbAudioRpc',
+ 'rpcs': [
+ # Implements a call to create an audio resource.
+ # Returns descriptors for memory window, sync socket.
+ {'name': 'PPB_Audio_Create',
+ 'inputs': [['instance', 'PP_Instance'],
+ ['config', 'PP_Resource'],
+ ],
+ 'outputs': [['out_resource', 'PP_Resource'],
+ ]
+ },
+ # Implements a call to determine IsAudio.
+ {'name': 'PPB_Audio_IsAudio',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['out_bool', 'int32_t'],
+ ]
+ },
+ # Implements a call to get current config as resource.
+ {'name': 'PPB_Audio_GetCurrentConfig',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['out_resource', 'PP_Resource'],
+ ]
+ },
+ # Implements a call to stop playback.
+ {'name': 'PPB_Audio_StopPlayback',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['out_bool', 'int32_t'],
+ ]
+ },
+ # Implements a call to start playback.
+ {'name': 'PPB_Audio_StartPlayback',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['out_bool', 'int32_t'],
+ ]
+ },
+ ]
+}
Property changes on: ppapi/native_client/src/shared/ppapi_proxy/ppb_audio.srpc
___________________________________________________________________
Added: svn:executable
+ *
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/ppb.srpc ('k') | ppapi/native_client/src/shared/ppapi_proxy/ppb_audio_config.srpc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698