OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 #ifndef PPAPI_C_PPB_AUDIO_CONFIG_H_ | 5 #ifndef PPAPI_C_PPB_AUDIO_CONFIG_H_ |
6 #define PPAPI_C_PPB_AUDIO_CONFIG_H_ | 6 #define PPAPI_C_PPB_AUDIO_CONFIG_H_ |
7 | 7 |
8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_macros.h" | 10 #include "ppapi/c/pp_macros.h" |
11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
12 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
13 | 13 |
14 #define PPB_AUDIO_CONFIG_INTERFACE_0_5 "PPB_AudioConfig;0.5" | 14 #define PPB_AUDIO_CONFIG_INTERFACE_0_5 "PPB_AudioConfig;0.5" |
15 #define PPB_AUDIO_CONFIG_INTERFACE PPB_AUDIO_CONFIG_INTERFACE_0_5 | 15 #define PPB_AUDIO_CONFIG_INTERFACE_1_0 "PPB_AudioConfig;1.0" |
| 16 #define PPB_AUDIO_CONFIG_INTERFACE PPB_AUDIO_CONFIG_INTERFACE_1_0 |
16 | 17 |
17 /** | 18 /** |
18 * @file | 19 * @file |
19 * This file defines the PPB_AudioConfig interface for establishing an | 20 * This file defines the PPB_AudioConfig interface for establishing an |
20 * audio configuration resource within the browser. | 21 * audio configuration resource within the browser. |
21 */ | 22 */ |
22 | 23 |
23 /** | 24 /** |
24 * | 25 * |
25 * @addtogroup Enums | 26 * @addtogroup Enums |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 * for more on sample frame counts. | 179 * for more on sample frame counts. |
179 */ | 180 */ |
180 uint32_t (*GetSampleFrameCount)(PP_Resource config); | 181 uint32_t (*GetSampleFrameCount)(PP_Resource config); |
181 }; | 182 }; |
182 /** | 183 /** |
183 * @} | 184 * @} |
184 */ | 185 */ |
185 | 186 |
186 #endif /* PPAPI_C_PPB_AUDIO_CONFIG_H_ */ | 187 #endif /* PPAPI_C_PPB_AUDIO_CONFIG_H_ */ |
187 | 188 |
OLD | NEW |