mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
ISSUE-21803: implement ConstantSourceNode audionode
This commit is contained in:
parent
18c500ecc8
commit
6027dd148a
18 changed files with 238 additions and 159 deletions
17
components/script/dom/webidls/ConstantSourceNode.webidl
Normal file
17
components/script/dom/webidls/ConstantSourceNode.webidl
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
/*
|
||||
* The origin of this IDL file is
|
||||
* https://webaudio.github.io/web-audio-api/#ConstantSourceNode
|
||||
*/
|
||||
|
||||
dictionary ConstantSourceOptions: AudioNodeOptions {
|
||||
float offset = 1;
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor (BaseAudioContext context, optional ConstantSourceOptions options = {})]
|
||||
interface ConstantSourceNode : AudioScheduledSourceNode {
|
||||
readonly attribute AudioParam offset;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue