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

Side by Side Diff: ppapi/c/ppb_audio.h

Issue 10749006: Changed "Pepper Audio API" to "Audio chapter in the Developer's Guide..." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/api/ppb_audio_config.idl ('k') | ppapi/c/ppb_audio_config.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 ppb_audio.idl modified Thu Mar 1 14:50:30 2012. */ 6 /* From ppb_audio.idl modified Mon Jul 9 12:03:36 2012. */
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
(...skipping 23 matching lines...) Expand all
40 /** 40 /**
41 * @} 41 * @}
42 */ 42 */
43 43
44 /** 44 /**
45 * @addtogroup Interfaces 45 * @addtogroup Interfaces
46 * @{ 46 * @{
47 */ 47 */
48 /** 48 /**
49 * The <code>PPB_Audio</code> interface contains pointers to several functions 49 * The <code>PPB_Audio</code> interface contains pointers to several functions
50 * for handling audio resources. Please refer to the 50 * for handling audio resources. Refer to the
51 * <a href="/native-client/{{pepperversion}}/devguide/coding/audio">Pepper 51 * <a href="/native-client/{{pepperversion}}/devguide/coding/audio">Audio</a>
52 * Audio API</a> for information on using this interface. 52 * chapter in the Developer's Guide for information on using this interface.
53 * Please see descriptions for each <code>PPB_Audio</code> and 53 * Please see descriptions for each <code>PPB_Audio</code> and
54 * <code>PPB_AudioConfig</code> function for more details. A C example using 54 * <code>PPB_AudioConfig</code> function for more details. A C example using
55 * <code>PPB_Audio</code> and <code>PPB_AudioConfig</code> follows. 55 * <code>PPB_Audio</code> and <code>PPB_AudioConfig</code> follows.
56 * 56 *
57 * <strong>Example: </strong> 57 * <strong>Example: </strong>
58 * 58 *
59 * @code 59 * @code
60 * void audio_callback(void* sample_buffer, 60 * void audio_callback(void* sample_buffer,
61 * uint32_t buffer_size_in_bytes, 61 * uint32_t buffer_size_in_bytes,
62 * void* user_data) { 62 * void* user_data) {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 PP_Bool (*StopPlayback)(PP_Resource audio); 157 PP_Bool (*StopPlayback)(PP_Resource audio);
158 }; 158 };
159 159
160 typedef struct PPB_Audio_1_0 PPB_Audio; 160 typedef struct PPB_Audio_1_0 PPB_Audio;
161 /** 161 /**
162 * @} 162 * @}
163 */ 163 */
164 164
165 #endif /* PPAPI_C_PPB_AUDIO_H_ */ 165 #endif /* PPAPI_C_PPB_AUDIO_H_ */
166 166
OLDNEW
« no previous file with comments | « ppapi/api/ppb_audio_config.idl ('k') | ppapi/c/ppb_audio_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698