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 | 5 |
6 /* From ppb_audio.idl modified Wed Aug 17 11:16:34 2011. */ | 6 /* From ppb_audio.idl modified Wed Aug 24 20:46:25 2011. */ |
7 | 7 |
8 #ifndef PPAPI_C_PPB_AUDIO_H_ | 8 #ifndef PPAPI_C_PPB_AUDIO_H_ |
9 #define PPAPI_C_PPB_AUDIO_H_ | 9 #define PPAPI_C_PPB_AUDIO_H_ |
10 | 10 |
11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
12 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
13 #include "ppapi/c/pp_macros.h" | 13 #include "ppapi/c/pp_macros.h" |
14 #include "ppapi/c/pp_resource.h" | 14 #include "ppapi/c/pp_resource.h" |
15 #include "ppapi/c/pp_stdint.h" | 15 #include "ppapi/c/pp_stdint.h" |
16 | 16 |
17 #define PPB_AUDIO_INTERFACE_0_6 "PPB_Audio;0.6" | |
18 #define PPB_AUDIO_INTERFACE_1_0 "PPB_Audio;1.0" | 17 #define PPB_AUDIO_INTERFACE_1_0 "PPB_Audio;1.0" |
19 #define PPB_AUDIO_INTERFACE PPB_AUDIO_INTERFACE_1_0 | 18 #define PPB_AUDIO_INTERFACE PPB_AUDIO_INTERFACE_1_0 |
20 | 19 |
21 /** | 20 /** |
22 * @file | 21 * @file |
23 * This file defines the <code>PPB_Audio</code> interface, which provides | 22 * This file defines the <code>PPB_Audio</code> interface, which provides |
24 * realtime stereo audio streaming capabilities. | 23 * realtime stereo audio streaming capabilities. |
25 */ | 24 */ |
26 | 25 |
27 | 26 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 * callback completes. | 143 * callback completes. |
145 */ | 144 */ |
146 PP_Bool (*StopPlayback)(PP_Resource audio); | 145 PP_Bool (*StopPlayback)(PP_Resource audio); |
147 }; | 146 }; |
148 /** | 147 /** |
149 * @} | 148 * @} |
150 */ | 149 */ |
151 | 150 |
152 #endif /* PPAPI_C_PPB_AUDIO_H_ */ | 151 #endif /* PPAPI_C_PPB_AUDIO_H_ */ |
153 | 152 |
OLD | NEW |