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

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

Issue 13220002: [PPAPI] Fix a bunch of spelling mistakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/c/pp_touch_point.h ('k') | ppapi/c/ppb_graphics_2d.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_config.idl modified Mon Jul 9 12:02:26 2012. */ 6 /* From ppb_audio_config.idl modified Thu Mar 28 10:07:11 2013. */
7 7
8 #ifndef PPAPI_C_PPB_AUDIO_CONFIG_H_ 8 #ifndef PPAPI_C_PPB_AUDIO_CONFIG_H_
9 #define PPAPI_C_PPB_AUDIO_CONFIG_H_ 9 #define PPAPI_C_PPB_AUDIO_CONFIG_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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 * 172 *
173 * @return A <code>uint32_t</code> containing sample frame count or 173 * @return A <code>uint32_t</code> containing sample frame count or
174 * 0 if the resource is invalid. Refer to 174 * 0 if the resource is invalid. Refer to
175 * RecommendSampleFrameCount() for more on sample frame counts. 175 * RecommendSampleFrameCount() for more on sample frame counts.
176 */ 176 */
177 uint32_t (*GetSampleFrameCount)(PP_Resource config); 177 uint32_t (*GetSampleFrameCount)(PP_Resource config);
178 /** 178 /**
179 * RecommendSampleRate() returns the native sample rate that the browser 179 * RecommendSampleRate() returns the native sample rate that the browser
180 * is using in the backend. Applications that use the recommended sample 180 * is using in the backend. Applications that use the recommended sample
181 * rate will have potentially better latency and fidelity. The return value 181 * rate will have potentially better latency and fidelity. The return value
182 * is indended for audio output devices. If the output sample rate cannot be 182 * is intended for audio output devices. If the output sample rate cannot be
183 * determined, this function can return PP_AUDIOSAMPLERATE_NONE. 183 * determined, this function can return PP_AUDIOSAMPLERATE_NONE.
184 * 184 *
185 * @param[in] instance 185 * @param[in] instance
186 * 186 *
187 * @return A <code>uint32_t</code> containing the recommended sample frame 187 * @return A <code>uint32_t</code> containing the recommended sample frame
188 * count if successful. 188 * count if successful.
189 */ 189 */
190 PP_AudioSampleRate (*RecommendSampleRate)(PP_Instance instance); 190 PP_AudioSampleRate (*RecommendSampleRate)(PP_Instance instance);
191 }; 191 };
192 192
193 typedef struct PPB_AudioConfig_1_1 PPB_AudioConfig; 193 typedef struct PPB_AudioConfig_1_1 PPB_AudioConfig;
194 194
195 struct PPB_AudioConfig_1_0 { 195 struct PPB_AudioConfig_1_0 {
196 PP_Resource (*CreateStereo16Bit)(PP_Instance instance, 196 PP_Resource (*CreateStereo16Bit)(PP_Instance instance,
197 PP_AudioSampleRate sample_rate, 197 PP_AudioSampleRate sample_rate,
198 uint32_t sample_frame_count); 198 uint32_t sample_frame_count);
199 uint32_t (*RecommendSampleFrameCount)( 199 uint32_t (*RecommendSampleFrameCount)(
200 PP_AudioSampleRate sample_rate, 200 PP_AudioSampleRate sample_rate,
201 uint32_t requested_sample_frame_count); 201 uint32_t requested_sample_frame_count);
202 PP_Bool (*IsAudioConfig)(PP_Resource resource); 202 PP_Bool (*IsAudioConfig)(PP_Resource resource);
203 PP_AudioSampleRate (*GetSampleRate)(PP_Resource config); 203 PP_AudioSampleRate (*GetSampleRate)(PP_Resource config);
204 uint32_t (*GetSampleFrameCount)(PP_Resource config); 204 uint32_t (*GetSampleFrameCount)(PP_Resource config);
205 }; 205 };
206 /** 206 /**
207 * @} 207 * @}
208 */ 208 */
209 209
210 #endif /* PPAPI_C_PPB_AUDIO_CONFIG_H_ */ 210 #endif /* PPAPI_C_PPB_AUDIO_CONFIG_H_ */
211 211
OLDNEW
« no previous file with comments | « ppapi/c/pp_touch_point.h ('k') | ppapi/c/ppb_graphics_2d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698