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

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, 11 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 118765)
+++ 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.
@@ -26,7 +26,8 @@
},
# Implements a call to get recommended sample frame count.
{'name': 'PPB_AudioConfig_RecommendSampleFrameCount',
- 'inputs': [['request_sample_rate', 'int32_t'],
+ 'inputs': [['instance', 'PP_Instance'],
+ ['request_sample_rate', 'int32_t'],
['request_sample_frame_count', 'int32_t'],
],
'outputs': [['out_sample_frame_count', 'int32_t']
@@ -46,5 +47,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