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

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

Issue 9129007: Work on improving PpbAudioConfig:RecommendSampleFrameCount (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 122585)
+++ ppapi/native_client/src/shared/ppapi_proxy/ppb_audio_config.srpc (working copy)
@@ -1,4 +1,4 @@
-# Copyright (c) 2010 The Native Client Authors. All rights reserved.
+# Copyright (c) 2012 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.
@@ -24,14 +24,23 @@
'outputs': [['out_bool', 'int32_t']
]
},
- # Implements a call to get recommended sample frame count.
- {'name': 'PPB_AudioConfig_RecommendSampleFrameCount',
+ # Implements a call to get recommended sample frame count (v1.0)
+ {'name': 'PPB_AudioConfig_RecommendSampleFrameCount_1_0',
'inputs': [['request_sample_rate', 'int32_t'],
['request_sample_frame_count', 'int32_t'],
],
'outputs': [['out_sample_frame_count', 'int32_t']
]
},
+ # Implements a call to get recommended sample frame count
+ {'name': 'PPB_AudioConfig_RecommendSampleFrameCount',
+ 'inputs': [['instance', 'PP_Instance'],
+ ['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'],
@@ -46,5 +55,12 @@
'outputs': [['sample_frame_count', 'int32_t'],
]
},
+ # Implements a call to get recommended sample rate
+ {'name': 'PPB_AudioConfig_RecommendSampleRate',
+ 'inputs': [['instance', 'PP_Instance'],
+ ],
+ 'outputs': [['sample_rate', 'int32_t']
+ ]
+ },
]
}

Powered by Google App Engine
This is Rietveld 408576698