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

Side by Side Diff: ppapi/api/ppb_media_stream_audio_track.idl

Issue 212023003: PPAPI: Bring PPB_MediaStream*Track to stable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 8 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/api/ppb_audio_buffer.idl ('k') | ppapi/api/ppb_media_stream_video_track.idl » ('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 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 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 * Defines the <code>PPB_MediaStreamAudioTrack</code> interface. Used for 7 * Defines the <code>PPB_MediaStreamAudioTrack</code> interface. Used for
8 * receiving audio samples from a MediaStream audio track in the browser. 8 * receiving audio samples from a MediaStream audio track in the browser.
9 * This interface is still in development (Dev API status) and may change.
10 */ 9 */
11 10
12 [generate_thunk] 11 [generate_thunk]
13 12
14 label Chrome { 13 label Chrome {
15 [channel=dev] M34 = 0.1 14 [channel=dev] M34 = 0.1,
15 M35 = 0.1
16 }; 16 };
17 17
18 /** 18 /**
19 * This enumeration contains audio track attributes which are used by 19 * This enumeration contains audio track attributes which are used by
20 * <code>Configure()</code>. 20 * <code>Configure()</code>.
21 */ 21 */
22 enum PP_MediaStreamAudioTrack_Attrib { 22 enum PP_MediaStreamAudioTrack_Attrib {
23 /** 23 /**
24 * Attribute list terminator. 24 * Attribute list terminator.
25 */ 25 */
(...skipping 29 matching lines...) Expand all
55 PP_MEDIASTREAMAUDIOTRACK_ATTRIB_CHANNELS = 4, 55 PP_MEDIASTREAMAUDIOTRACK_ATTRIB_CHANNELS = 4,
56 56
57 /** 57 /**
58 * The duration of an audio buffer in milliseconds. 58 * The duration of an audio buffer in milliseconds.
59 * 59 *
60 * Valid range: 10 to 10000 60 * Valid range: 10 to 10000
61 */ 61 */
62 PP_MEDIASTREAMAUDIOTRACK_ATTRIB_DURATION = 5 62 PP_MEDIASTREAMAUDIOTRACK_ATTRIB_DURATION = 5
63 }; 63 };
64 64
65 [version=0.1]
65 interface PPB_MediaStreamAudioTrack { 66 interface PPB_MediaStreamAudioTrack {
66 /** 67 /**
67 * Determines if a resource is a MediaStream audio track resource. 68 * Determines if a resource is a MediaStream audio track resource.
68 * 69 *
69 * @param[in] resource The <code>PP_Resource</code> to test. 70 * @param[in] resource The <code>PP_Resource</code> to test.
70 * 71 *
71 * @return A <code>PP_Bool</code> with <code>PP_TRUE</code> if the given 72 * @return A <code>PP_Bool</code> with <code>PP_TRUE</code> if the given
72 * resource is a Mediastream audio track resource or <code>PP_FALSE</code> 73 * resource is a Mediastream audio track resource or <code>PP_FALSE</code>
73 * otherwise. 74 * otherwise.
74 */ 75 */
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 * Closes the MediaStream audio track and disconnects it from the audio 191 * Closes the MediaStream audio track and disconnects it from the audio
191 * source. After calling <code>Close()</code>, no new buffers will be 192 * source. After calling <code>Close()</code>, no new buffers will be
192 * received. 193 * received.
193 * 194 *
194 * @param[in] audio_track A <code>PP_Resource</code> corresponding to a 195 * @param[in] audio_track A <code>PP_Resource</code> corresponding to a
195 * MediaStream audio track resource. 196 * MediaStream audio track resource.
196 */ 197 */
197 void Close([in] PP_Resource audio_track); 198 void Close([in] PP_Resource audio_track);
198 }; 199 };
199 200
OLDNEW
« no previous file with comments | « ppapi/api/ppb_audio_buffer.idl ('k') | ppapi/api/ppb_media_stream_video_track.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698