| 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 AudioBufferSourceNode : AudioSourceNode { | 26 interface AudioBufferSourceNode : AudioSourceNode { |
| 27 [RaisesException=Setter] attribute AudioBuffer buffer; | 27 [RaisesException=Setter] attribute AudioBuffer buffer; |
| 28 | 28 |
| 29 readonly attribute AudioParam playbackRate; | 29 readonly attribute AudioParam playbackRate; |
| 30 readonly attribute AudioParam detune; | 30 readonly attribute AudioParam detune; |
| 31 | 31 |
| 32 attribute boolean loop; | 32 attribute boolean loop; |
| 33 attribute double loopStart; | 33 attribute double loopStart; |
| 34 attribute double loopEnd; | 34 attribute double loopEnd; |
| 35 | 35 |
| 36 [RaisesException] void start(optional double when, optional double grainOffs
et, optional double grainDuration); | 36 [RaisesException, ImplementedAs=startNode] void start(optional double when,
optional double grainOffset, optional double grainDuration); |
| 37 [RaisesException] void stop(optional double when); | 37 [RaisesException, ImplementedAs=stopNode] void stop(optional double when); |
| 38 | 38 |
| 39 attribute EventHandler onended; | 39 attribute EventHandler onended; |
| 40 }; | 40 }; |
| OLD | NEW |