mirror of
https://github.com/servo/servo
synced 2026-04-27 09:57:23 +02:00
ISSUE-21803: implement ConstantSourceNode audionode
This commit is contained in:
committed by
Thomas Delacour
parent
18c500ecc8
commit
6027dd148a
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;
|
||||
};
|
||||
Reference in New Issue
Block a user