mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 984498: add new a parameter(audiochannel type) to AudioContext API. r=roc
This commit is contained in:
parent
d94f5de90e
commit
f4c00e37fb
@ -13,7 +13,8 @@
|
||||
callback DecodeSuccessCallback = void (AudioBuffer decodedData);
|
||||
callback DecodeErrorCallback = void ();
|
||||
|
||||
[Constructor]
|
||||
[Constructor,
|
||||
Constructor(AudioChannel audioChannelType)]
|
||||
interface AudioContext : EventTarget {
|
||||
|
||||
readonly attribute AudioDestinationNode destination;
|
||||
@ -28,7 +29,7 @@ interface AudioContext : EventTarget {
|
||||
DecodeSuccessCallback successCallback,
|
||||
optional DecodeErrorCallback errorCallback);
|
||||
|
||||
// AudioNode creation
|
||||
// AudioNode creation
|
||||
[NewObject]
|
||||
AudioBufferSourceNode createBufferSource();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user