OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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_DEV_PPB_AUDIO_CONFIG_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_AUDIO_CONFIG_DEV_H_ |
6 #define PPAPI_C_DEV_PPB_AUDIO_CONFIG_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_AUDIO_CONFIG_DEV_H_ |
7 | 7 |
8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_macros.h" | 9 #include "ppapi/c/pp_macros.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_CONFIG_DEV_INTERFACE "PPB_AudioConfig(Dev);0.4" | 14 #define PPB_AUDIO_CONFIG_DEV_INTERFACE "PPB_AudioConfig(Dev);0.4" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 PP_AudioSampleRate_Dev (*GetSampleRate)(PP_Resource config); | 86 PP_AudioSampleRate_Dev (*GetSampleRate)(PP_Resource config); |
87 | 87 |
88 /** | 88 /** |
89 * Returns the sample frame count for the given AudioConfig resource. If the | 89 * Returns the sample frame count for the given AudioConfig resource. If the |
90 * resource is invalid, this will return 0. See RecommendSampleFrameCount for | 90 * resource is invalid, this will return 0. See RecommendSampleFrameCount for |
91 * more on sample frame counts. | 91 * more on sample frame counts. |
92 */ | 92 */ |
93 uint32_t (*GetSampleFrameCount)(PP_Resource config); | 93 uint32_t (*GetSampleFrameCount)(PP_Resource config); |
94 }; | 94 }; |
95 | 95 |
96 #endif // PPAPI_C_DEV_PPB_AUDIO_CONFIG_DEV_H_ | 96 #endif /* PPAPI_C_DEV_PPB_AUDIO_CONFIG_DEV_H_ */ |
| 97 |
OLD | NEW |