OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 [ | 26 [ |
27 ActiveScriptWrappable, | 27 ActiveScriptWrappable, |
28 Constructor, | 28 Constructor, |
29 ConstructorCallWith=Document, | 29 ConstructorCallWith=Document, |
30 DependentLifetime, | 30 DependentLifetime, |
31 NoInterfaceObject, | 31 NoInterfaceObject, |
32 RaisesException=Constructor, | 32 RaisesException=Constructor, |
33 ] interface AudioContext : BaseAudioContext { | 33 ] interface AudioContext : BaseAudioContext { |
| 34 // Close |
| 35 [MeasureAs=AudioContextClose, CallWith=ScriptState, ImplementedAs=closeConte
xt] Promise<void> close(); |
| 36 |
34 // Sources | 37 // Sources |
35 // TODO(rtoy): The following methods should be here instead of in BaseAudioC
ontext: | 38 // TODO(rtoy): The following methods should be here instead of in BaseAudioC
ontext: |
36 // | 39 // |
37 // createMediaElementSource(HTMLMediaElement mediaElement) | 40 // createMediaElementSource(HTMLMediaElement mediaElement) |
38 // createMediaStreamSource(MediaStream mediaStream) | 41 // createMediaStreamSource(MediaStream mediaStream) |
39 // createMediaStreamDestination() | 42 // createMediaStreamDestination() |
40 }; | 43 }; |
OLD | NEW |