| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, Google Inc. All rights reserved. | 2 * Copyright (C) 2010, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 interface [ | 26 interface [ |
| 27 Conditional=WEB_AUDIO | 27 Conditional=WEB_AUDIO |
| 28 ] AudioNode { | 28 ] AudioNode { |
| 29 readonly attribute AudioContext context; | 29 readonly attribute AudioContext context; |
| 30 readonly attribute unsigned long numberOfInputs; | 30 readonly attribute unsigned long numberOfInputs; |
| 31 readonly attribute unsigned long numberOfOutputs; | 31 readonly attribute unsigned long numberOfOutputs; |
| 32 | 32 |
| 33 void connect(in AudioNode destination, in [Optional=DefaultIsUndefined]
unsigned long output, in [Optional=DefaultIsUndefined] unsigned long input) | 33 void connect(in AudioNode destination, in [Optional=DefaultIsUndefined]
unsigned long output, in [Optional=DefaultIsUndefined] unsigned long input) |
| 34 raises(DOMException); | 34 raises(DOMException); |
| 35 | 35 |
| 36 void connect(in AudioParam destination, in [Optional=DefaultIsUndefined]
unsigned long output) |
| 37 raises(DOMException); |
| 38 |
| 36 void disconnect(in [Optional=DefaultIsUndefined] unsigned long output) | 39 void disconnect(in [Optional=DefaultIsUndefined] unsigned long output) |
| 37 raises(DOMException); | 40 raises(DOMException); |
| 38 }; | 41 }; |
| 39 } | 42 } |
| OLD | NEW |