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

Side by Side Diff: src/shared/ppapi_proxy/ppb_audio_config_dev.srpc

Issue 5974006: Convert srpc definitions from using int64 to using PP_Instance, PP_Module, an... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 12 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
OLDNEW
1 # Copyright (c) 2010 The Native Client Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This file declares the RPC methods used to implement PPB_AudioConfig_Dev 5 # This file declares the RPC methods used to implement PPB_AudioConfig_Dev
6 # calls from the plugin. The functions are described in 6 # calls from the plugin. The functions are described in
7 # ppapi/c/dev/ppb_audio_config_dev.h. 7 # ppapi/c/dev/ppb_audio_config_dev.h.
8 { 8 {
9 'name': 'PpbAudioConfigDevRpc', 9 'name': 'PpbAudioConfigDevRpc',
10 'rpcs': [ 10 'rpcs': [
11 # Implements a call to create an audio configuration for stereo output . 11 # Implements a call to create an audio configuration for stereo output .
12 {'name': 'PPB_AudioConfig_Dev_CreateStereo16Bit', 12 {'name': 'PPB_AudioConfig_Dev_CreateStereo16Bit',
13 'inputs': [['module', 'int64_t'], 13 'inputs': [['module', 'PP_Module'],
14 ['sample_rate', 'int32_t'], 14 ['sample_rate', 'int32_t'],
15 ['sample_frame_count', 'int32_t'], 15 ['sample_frame_count', 'int32_t'],
16 ], 16 ],
17 'outputs': [['resource', 'int64_t'], 17 'outputs': [['resource', 'PP_Resource'],
18 ] 18 ]
19 }, 19 },
20 # Implements a call to check if this is an AudioConfig. 20 # Implements a call to check if this is an AudioConfig.
21 {'name': 'PPB_AudioConfig_Dev_IsAudioConfig', 21 {'name': 'PPB_AudioConfig_Dev_IsAudioConfig',
22 'inputs': [['resource', 'int64_t'], 22 'inputs': [['resource', 'PP_Resource'],
23 ], 23 ],
24 'outputs': [['out_bool', 'int32_t'] 24 'outputs': [['out_bool', 'int32_t']
polina 2010/12/23 23:41:23 'outputs': [['is_audio_config', 'PP_Bool']
25 ] 25 ]
26 }, 26 },
27 # Implements a call to get recommended sample frame count. 27 # Implements a call to get recommended sample frame count.
28 {'name': 'PPB_AudioConfig_Dev_RecommendSampleFrameCount', 28 {'name': 'PPB_AudioConfig_Dev_RecommendSampleFrameCount',
29 'inputs': [['request', 'int32_t'], 29 'inputs': [['request', 'int32_t'],
30 ], 30 ],
31 'outputs': [['sample_frame_count', 'int32_t'] 31 'outputs': [['sample_frame_count', 'int32_t']
32 ] 32 ]
33 }, 33 },
34 # Implements a call to get the sample rate. 34 # Implements a call to get the sample rate.
35 {'name': 'PPB_AudioConfig_Dev_GetSampleRate', 35 {'name': 'PPB_AudioConfig_Dev_GetSampleRate',
36 'inputs': [['resource', 'int64_t'], 36 'inputs': [['resource', 'PP_Resource'],
37 ], 37 ],
38 'outputs': [['sample_rate', 'int32_t'] 38 'outputs': [['sample_rate', 'int32_t']
39 ] 39 ]
40 }, 40 },
41 # Implements a call to get the obtained sample frame count. 41 # Implements a call to get the obtained sample frame count.
42 {'name': 'PPB_AudioConfig_Dev_GetSampleFrameCount', 42 {'name': 'PPB_AudioConfig_Dev_GetSampleFrameCount',
43 'inputs': [['resource', 'int64_t'], 43 'inputs': [['resource', 'PP_Resource'],
44 ], 44 ],
45 'outputs': [['sample_frame_count', 'int32_t'], 45 'outputs': [['sample_frame_count', 'int32_t'],
46 ] 46 ]
47 }, 47 },
48 ] 48 ]
49 } 49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698