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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:executable
+ *
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # This file declares the RPC methods used to implement PPB_AudioConfig
6 # calls from the plugin. The functions are described in
7 # ppapi/c/ppb_audio_config.h.
8 {
9 'name': 'PpbAudioConfigRpc',
10 'rpcs': [
11 # Implements a call to create an audio configuration for stereo output .
12 {'name': 'PPB_AudioConfig_CreateStereo16Bit',
13 'inputs': [['instance', 'PP_Instance'],
14 ['sample_rate', 'int32_t'],
15 ['sample_frame_count', 'int32_t'],
16 ],
17 'outputs': [['resource', 'PP_Resource'],
18 ]
19 },
20 # Implements a call to check if this is an AudioConfig.
21 {'name': 'PPB_AudioConfig_IsAudioConfig',
22 'inputs': [['resource', 'PP_Resource'],
23 ],
24 'outputs': [['out_bool', 'int32_t']
25 ]
26 },
27 # Implements a call to get recommended sample frame count.
28 {'name': 'PPB_AudioConfig_RecommendSampleFrameCount',
29 'inputs': [['request_sample_rate', 'int32_t'],
30 ['request_sample_frame_count', 'int32_t'],
31 ],
32 'outputs': [['out_sample_frame_count', 'int32_t']
33 ]
34 },
35 # Implements a call to get the sample rate.
36 {'name': 'PPB_AudioConfig_GetSampleRate',
37 'inputs': [['resource', 'PP_Resource'],
38 ],
39 'outputs': [['sample_rate', 'int32_t']
40 ]
41 },
42 # Implements a call to get the obtained sample frame count.
43 {'name': 'PPB_AudioConfig_GetSampleFrameCount',
44 'inputs': [['resource', 'PP_Resource'],
45 ],
46 'outputs': [['sample_frame_count', 'int32_t'],
47 ]
48 },
49 ]
50 }
OLDNEW
« 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