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

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c

Issue 22320004: Add a new parameter |latency| to PPB_Audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 The Chromium 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 5
6 /* NOTE: this is auto-generated from IDL */ 6 /* NOTE: this is auto-generated from IDL */
7 #include "ppapi/generators/pnacl_shim.h" 7 #include "ppapi/generators/pnacl_shim.h"
8 8
9 #include "ppapi/c/ppb.h" 9 #include "ppapi/c/ppb.h"
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_6; 225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_ 0_6;
226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1;
227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1; 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1;
228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1; 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1;
229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1; 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1;
230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2; 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2;
231 /* END Declarations for all Wrapper Infos. */ 231 /* END Declarations for all Wrapper Infos. */
232 232
233 /* Not generating wrapper methods for PPB_Audio_1_0 */ 233 /* Not generating wrapper methods for PPB_Audio_1_0 */
234 234
235 /* Not generating wrapper methods for PPB_Audio_1_1 */
236
235 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ 237 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */
236 238
237 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */ 239 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */
238 240
239 /* Begin wrapper methods for PPB_Console_1_0 */ 241 /* Begin wrapper methods for PPB_Console_1_0 */
240 242
241 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, s truct PP_Var* value) { 243 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, s truct PP_Var* value) {
242 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i face; 244 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i face;
243 iface->Log(instance, level, *value); 245 iface->Log(instance, level, *value);
244 } 246 }
(...skipping 3641 matching lines...) Expand 10 before | Expand all | Expand 10 after
3886 3888
3887 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_GetJoinedGroups(PP_Instance instance , struct PP_Var* socket_id, struct PP_Var* groups, struct PP_CompletionCallback* callback) { 3889 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_GetJoinedGroups(PP_Instance instance , struct PP_Var* socket_id, struct PP_Var* groups, struct PP_CompletionCallback* callback) {
3888 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_ Dev_0_2.real_iface; 3890 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_ Dev_0_2.real_iface;
3889 return iface->GetJoinedGroups(instance, *socket_id, groups, *callback); 3891 return iface->GetJoinedGroups(instance, *socket_id, groups, *callback);
3890 } 3892 }
3891 3893
3892 /* End wrapper methods for PPB_Ext_Socket_Dev_0_2 */ 3894 /* End wrapper methods for PPB_Ext_Socket_Dev_0_2 */
3893 3895
3894 /* Not generating wrapper interface for PPB_Audio_1_0 */ 3896 /* Not generating wrapper interface for PPB_Audio_1_0 */
3895 3897
3898 /* Not generating wrapper interface for PPB_Audio_1_1 */
3899
3896 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ 3900 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */
3897 3901
3898 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */ 3902 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */
3899 3903
3900 struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = { 3904 struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = {
3901 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var valu e))&Pnacl_M25_PPB_Console_Log, 3905 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var valu e))&Pnacl_M25_PPB_Console_Log,
3902 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct P P_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource 3906 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct P P_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource
3903 }; 3907 };
3904 3908
3905 struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = { 3909 struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = {
(...skipping 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after
5665 if (NULL == iface) return NULL; 5669 if (NULL == iface) return NULL;
5666 wrapper->real_iface = iface; 5670 wrapper->real_iface = iface;
5667 } 5671 }
5668 5672
5669 if (wrapper->wrapped_iface) { 5673 if (wrapper->wrapped_iface) {
5670 return wrapper->wrapped_iface; 5674 return wrapper->wrapped_iface;
5671 } else { 5675 } else {
5672 return wrapper->real_iface; 5676 return wrapper->real_iface;
5673 } 5677 }
5674 } 5678 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698