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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_audio_config.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_config.srpc
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/ppb_audio_config.srpc (revision 0)
+++ ppapi/native_client/src/shared/ppapi_proxy/ppb_audio_config.srpc (revision 0)
@@ -0,0 +1,50 @@
+# 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_AudioConfig
+# calls from the plugin. The functions are described in
+# ppapi/c/ppb_audio_config.h.
+{
+ 'name': 'PpbAudioConfigRpc',
+ 'rpcs': [
+ # Implements a call to create an audio configuration for stereo output.
+ {'name': 'PPB_AudioConfig_CreateStereo16Bit',
+ 'inputs': [['instance', 'PP_Instance'],
+ ['sample_rate', 'int32_t'],
+ ['sample_frame_count', 'int32_t'],
+ ],
+ 'outputs': [['resource', 'PP_Resource'],
+ ]
+ },
+ # Implements a call to check if this is an AudioConfig.
+ {'name': 'PPB_AudioConfig_IsAudioConfig',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['out_bool', 'int32_t']
+ ]
+ },
+ # Implements a call to get recommended sample frame count.
+ {'name': 'PPB_AudioConfig_RecommendSampleFrameCount',
+ 'inputs': [['request_sample_rate', 'int32_t'],
+ ['request_sample_frame_count', 'int32_t'],
+ ],
+ 'outputs': [['out_sample_frame_count', 'int32_t']
+ ]
+ },
+ # Implements a call to get the sample rate.
+ {'name': 'PPB_AudioConfig_GetSampleRate',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['sample_rate', 'int32_t']
+ ]
+ },
+ # Implements a call to get the obtained sample frame count.
+ {'name': 'PPB_AudioConfig_GetSampleFrameCount',
+ 'inputs': [['resource', 'PP_Resource'],
+ ],
+ 'outputs': [['sample_frame_count', 'int32_t'],
+ ]
+ },
+ ]
+}
Property changes on: ppapi/native_client/src/shared/ppapi_proxy/ppb_audio_config.srpc
___________________________________________________________________
Added: svn:executable
+ *
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/ppb_audio.srpc ('k') | ppapi/native_client/src/shared/ppapi_proxy/ppb_core.srpc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698