| 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_module.h" | 10 #include "ppapi/c/pp_module.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_INTERFACE "PPB_Audio;0.6" | 14 #define PPB_AUDIO_INTERFACE_0_6 "PPB_Audio;0.6" |
| 15 #define PPB_AUDIO_INTERFACE PPB_AUDIO_INTERFACE_0_6 |
| 15 | 16 |
| 16 /** | 17 /** |
| 17 * @file | 18 * @file |
| 18 * This file defines the PPB_Audio interface, which provides realtime stereo | 19 * This file defines the PPB_Audio interface, which provides realtime stereo |
| 19 * audio streaming capabilities. Please refer to the | 20 * audio streaming capabilities. Please refer to the |
| 20 * <a href="/chrome/nativeclient/docs/audio.html">Pepper Audio API Code | 21 * <a href="/chrome/nativeclient/docs/audio.html">Pepper Audio API Code |
| 21 * Walkthrough</a> for information on using this interface. | 22 * Walkthrough</a> for information on using this interface. |
| 22 */ | 23 */ |
| 23 | 24 |
| 24 /** | 25 /** |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 * callback completes. | 133 * callback completes. |
| 133 */ | 134 */ |
| 134 PP_Bool (*StopPlayback)(PP_Resource audio); | 135 PP_Bool (*StopPlayback)(PP_Resource audio); |
| 135 }; | 136 }; |
| 136 /** | 137 /** |
| 137 * @} | 138 * @} |
| 138 */ | 139 */ |
| 139 | 140 |
| 140 #endif /* PPAPI_C_PPB_DEVICE_CONTEXT_AUDIO_H_ */ | 141 #endif /* PPAPI_C_PPB_DEVICE_CONTEXT_AUDIO_H_ */ |
| 141 | 142 |
| OLD | NEW |