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

Side by Side Diff: ppapi/c/dev/ppb_device_ref_dev.h

Issue 2755613002: Support audio output device enumeration and selection in PPAPI (Closed)
Patch Set: Fix format, Rebase Created 3 years, 8 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
« no previous file with comments | « ppapi/c/dev/ppb_audio_output_dev.h ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 /* From dev/ppb_device_ref_dev.idl modified Wed Nov 07 13:28:37 2012. */ 6 /* From dev/ppb_device_ref_dev.idl modified Mon Jan 09 12:04:09 2017. */
7 7
8 #ifndef PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_ 8 #ifndef PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_
9 #define PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_ 9 #define PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_macros.h" 12 #include "ppapi/c/pp_macros.h"
13 #include "ppapi/c/pp_resource.h" 13 #include "ppapi/c/pp_resource.h"
14 #include "ppapi/c/pp_stdint.h" 14 #include "ppapi/c/pp_stdint.h"
15 #include "ppapi/c/pp_var.h" 15 #include "ppapi/c/pp_var.h"
16 16
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 /** 48 /**
49 * @addtogroup Enums 49 * @addtogroup Enums
50 * @{ 50 * @{
51 */ 51 */
52 /** 52 /**
53 * Device types. 53 * Device types.
54 */ 54 */
55 typedef enum { 55 typedef enum {
56 PP_DEVICETYPE_DEV_INVALID = 0, 56 PP_DEVICETYPE_DEV_INVALID = 0,
57 PP_DEVICETYPE_DEV_AUDIOCAPTURE = 1, 57 PP_DEVICETYPE_DEV_AUDIOCAPTURE = 1,
58 PP_DEVICETYPE_DEV_VIDEOCAPTURE = 2 58 PP_DEVICETYPE_DEV_VIDEOCAPTURE = 2,
59 PP_DEVICETYPE_DEV_AUDIOOUTPUT = 3
59 } PP_DeviceType_Dev; 60 } PP_DeviceType_Dev;
60 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DeviceType_Dev, 4); 61 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_DeviceType_Dev, 4);
61 /** 62 /**
62 * @} 63 * @}
63 */ 64 */
64 65
65 /** 66 /**
66 * @addtogroup Interfaces 67 * @addtogroup Interfaces
67 * @{ 68 * @{
68 */ 69 */
(...skipping 30 matching lines...) Expand all
99 struct PP_Var (*GetName)(PP_Resource device_ref); 100 struct PP_Var (*GetName)(PP_Resource device_ref);
100 }; 101 };
101 102
102 typedef struct PPB_DeviceRef_Dev_0_1 PPB_DeviceRef_Dev; 103 typedef struct PPB_DeviceRef_Dev_0_1 PPB_DeviceRef_Dev;
103 /** 104 /**
104 * @} 105 * @}
105 */ 106 */
106 107
107 #endif /* PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_ */ 108 #endif /* PPAPI_C_DEV_PPB_DEVICE_REF_DEV_H_ */
108 109
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_audio_output_dev.h ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698