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 /** | 6 /** |
7 * This file defines the PPB_AudioConfig interface for establishing an | 7 * This file defines the PPB_AudioConfig interface for establishing an |
8 * audio configuration resource within the browser. | 8 * audio configuration resource within the browser. |
9 */ | 9 */ |
10 | 10 |
11 label Chrome { | 11 label Chrome { |
12 M13 = 0.5, | |
13 M14 = 1.0 | 12 M14 = 1.0 |
14 }; | 13 }; |
15 | 14 |
16 /** | 15 /** |
17 * This enumeration contains audio frame count constants. | 16 * This enumeration contains audio frame count constants. |
18 * <code>PP_AUDIOMINSAMPLEFRAMECOUNT</code> is the minimum possible frame | 17 * <code>PP_AUDIOMINSAMPLEFRAMECOUNT</code> is the minimum possible frame |
19 * count. <code>PP_AUDIOMAXSAMPLEFRAMECOUNT</code> is the maximum possible | 18 * count. <code>PP_AUDIOMAXSAMPLEFRAMECOUNT</code> is the maximum possible |
20 * frame count. | 19 * frame count. |
21 */ | 20 */ |
22 [unnamed] enum PP_AudioFrameSize { | 21 [unnamed] enum PP_AudioFrameSize { |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 * @param[in] config A <code>PP_Resource</code> containing the audio config | 145 * @param[in] config A <code>PP_Resource</code> containing the audio config |
147 * resource. | 146 * resource. |
148 * @return A <code>uint32_t</code> containing sample frame count or | 147 * @return A <code>uint32_t</code> containing sample frame count or |
149 * 0 if the resource is invalid. See <code>RecommendSampleFrameCount</code> | 148 * 0 if the resource is invalid. See <code>RecommendSampleFrameCount</code> |
150 * for more on sample frame counts. | 149 * for more on sample frame counts. |
151 */ | 150 */ |
152 uint32_t GetSampleFrameCount( | 151 uint32_t GetSampleFrameCount( |
153 [in] PP_Resource config); | 152 [in] PP_Resource config); |
154 }; | 153 }; |
155 | 154 |
OLD | NEW |