summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/audio-output.idl
blob: 80ceb225308a057d99ce39f575ebcf8eb40ab5fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Audio Output Devices API (https://w3c.github.io/mediacapture-output/)

partial interface HTMLMediaElement {
  [SecureContext] readonly attribute DOMString sinkId;
  [SecureContext] Promise<undefined> setSinkId (DOMString sinkId);
};

partial interface MediaDevices {
  Promise<MediaDeviceInfo> selectAudioOutput(optional AudioOutputOptions options = {});
};

dictionary AudioOutputOptions {
  DOMString deviceId = "";
};