OLD | NEW |
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 /** | 6 /** |
7 * This file defines the <code>PPB_Audio</code> interface, which provides | 7 * This file defines the <code>PPB_Audio</code> interface, which provides |
8 * realtime stereo audio streaming capabilities. | 8 * realtime stereo audio streaming capabilities. |
9 */ | 9 */ |
10 | 10 |
| 11 [generate_thunk] |
| 12 |
11 label Chrome { | 13 label Chrome { |
12 M14 = 1.0 | 14 M14 = 1.0 |
13 }; | 15 }; |
14 | 16 |
15 /** | 17 /** |
16 * <code>PPB_Audio_Callback</code> defines the type of an audio callback | 18 * <code>PPB_Audio_Callback</code> defines the type of an audio callback |
17 * function used to fill the audio buffer with data. Please see the | 19 * function used to fill the audio buffer with data. Please see the |
18 * Create() function in the <code>PPB_Audio</code> interface for | 20 * Create() function in the <code>PPB_Audio</code> interface for |
19 * more details on this callback. | 21 * more details on this callback. |
20 */ | 22 */ |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 * @return A <code>PP_Bool</code> containing <code>PP_TRUE</code> if | 138 * @return A <code>PP_Bool</code> containing <code>PP_TRUE</code> if |
137 * successful, otherwise <code>PP_FALSE</code>. Also returns | 139 * successful, otherwise <code>PP_FALSE</code>. Also returns |
138 * <code>PP_TRUE</code> (and is a no-op) if called while playback is already | 140 * <code>PP_TRUE</code> (and is a no-op) if called while playback is already |
139 * stopped. If a callback is in progress, StopPlayback() will block until the | 141 * stopped. If a callback is in progress, StopPlayback() will block until the |
140 * callback completes. | 142 * callback completes. |
141 */ | 143 */ |
142 PP_Bool StopPlayback( | 144 PP_Bool StopPlayback( |
143 [in] PP_Resource audio); | 145 [in] PP_Resource audio); |
144 }; | 146 }; |
145 | 147 |
OLD | NEW |