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_config.idl modified Wed Aug 17 11:16:34 2011. */ | 6 /* From ppb_audio_config.idl modified Tue Aug 23 10:14:32 2011. */ |
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
152 * <code>PP_AUDIOSAMPLERATE_NONE</code> if the resource is invalid. | 152 * <code>PP_AUDIOSAMPLERATE_NONE</code> if the resource is invalid. |
153 */ | 153 */ |
154 PP_AudioSampleRate (*GetSampleRate)(PP_Resource config); | 154 PP_AudioSampleRate (*GetSampleRate)(PP_Resource config); |
155 /** | 155 /** |
156 * GetSampleFrameCount() returns the sample frame count for the given | 156 * GetSampleFrameCount() returns the sample frame count for the given |
157 * <code>PPB_Audio_Config</code>. | 157 * <code>PPB_Audio_Config</code>. |
158 * | 158 * |
159 * @param[in] config A <code>PP_Resource</code> containing the audio config | 159 * @param[in] config A <code>PP_Resource</code> containing the audio config |
160 * resource. | 160 * resource. |
161 * @return A <code>uint32_t</code> containing sample frame count or | 161 * @return A <code>uint32_t</code> containing sample frame count or |
162 * 0 if the resource is invalid. Refer to | 162 * 0 if the resource is invalid. See <code>RecommendSampleFrameCount</code> |
163 * <code>RecommendSampleFrameCount</code> for more information on sample | 163 * for more on sample frame counts. |
dmichael (off chromium)
2011/08/23 16:53:52
Did you intend to do this change? I thought you ju
jond
2011/08/23 20:02:36
No I didn't. Strange.
On 2011/08/23 16:53:52, dmi
| |
164 * frame counts. | |
165 */ | 164 */ |
166 uint32_t (*GetSampleFrameCount)(PP_Resource config); | 165 uint32_t (*GetSampleFrameCount)(PP_Resource config); |
167 }; | 166 }; |
168 /** | 167 /** |
169 * @} | 168 * @} |
170 */ | 169 */ |
171 | 170 |
172 #endif /* PPAPI_C_PPB_AUDIO_CONFIG_H_ */ | 171 #endif /* PPAPI_C_PPB_AUDIO_CONFIG_H_ */ |
173 | 172 |
OLD | NEW |