| 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_H_ | 5 #ifndef PPAPI_C_PPB_AUDIO_H_ |
| 6 #define PPAPI_C_PPB_AUDIO_H_ | 6 #define PPAPI_C_PPB_AUDIO_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_resource.h" | 10 #include "ppapi/c/pp_resource.h" |
| 11 #include "ppapi/c/pp_stdint.h" | 11 #include "ppapi/c/pp_stdint.h" |
| 12 | 12 |
| 13 #define PPB_AUDIO_INTERFACE_0_6 "PPB_Audio;0.6" | 13 #define PPB_AUDIO_INTERFACE_0_6 "PPB_Audio;0.6" |
| 14 #define PPB_AUDIO_INTERFACE PPB_AUDIO_INTERFACE_0_6 | 14 #define PPB_AUDIO_INTERFACE_1_0 "PPB_Audio;1.0" |
| 15 #define PPB_AUDIO_INTERFACE PPB_AUDIO_INTERFACE_1_0 |
| 15 | 16 |
| 16 /** | 17 /** |
| 17 * @file | 18 * @file |
| 18 * This file defines the <code>PPB_Audio</code> interface, which provides | 19 * This file defines the <code>PPB_Audio</code> interface, which provides |
| 19 * realtime stereo audio streaming capabilities. | 20 * realtime stereo audio streaming capabilities. |
| 20 */ | 21 */ |
| 21 | 22 |
| 22 /** | 23 /** |
| 23 * @addtogroup Typedefs | 24 * @addtogroup Typedefs |
| 24 * @{ | 25 * @{ |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 * callback completes. | 142 * callback completes. |
| 142 */ | 143 */ |
| 143 PP_Bool (*StopPlayback)(PP_Resource audio); | 144 PP_Bool (*StopPlayback)(PP_Resource audio); |
| 144 }; | 145 }; |
| 145 /** | 146 /** |
| 146 * @} | 147 * @} |
| 147 */ | 148 */ |
| 148 | 149 |
| 149 #endif /* PPAPI_C_PPB_AUDIO_H_ */ | 150 #endif /* PPAPI_C_PPB_AUDIO_H_ */ |
| 150 | 151 |
| OLD | NEW |