mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Add MediaStreamAudioDestinationNode
This commit is contained in:
Vendored
+5
@@ -188,6 +188,10 @@ interface MediaStreamAudioSourceNode extends AudioNode {
|
||||
|
||||
}
|
||||
|
||||
interface MediaStreamAudioDestinationNode extends AudioNode {
|
||||
stream: MediaStream;
|
||||
}
|
||||
|
||||
interface AudioBuffer {
|
||||
copyFromChannel(destination: Float32Array, channelNumber: number, startInChannel?: number): void;
|
||||
|
||||
@@ -202,4 +206,5 @@ interface AudioContext {
|
||||
suspend(): Promise<void>;
|
||||
resume(): Promise<void>;
|
||||
close(): Promise<void>;
|
||||
createMediaStreamDestination(): MediaStreamAudioDestinationNode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user