summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/webcodecs-opus-codec-registration.idl
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/interfaces/webcodecs-opus-codec-registration.idl')
-rw-r--r--testing/web-platform/tests/interfaces/webcodecs-opus-codec-registration.idl14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/webcodecs-opus-codec-registration.idl b/testing/web-platform/tests/interfaces/webcodecs-opus-codec-registration.idl
index 0d198a6bcd..782a87b37d 100644
--- a/testing/web-platform/tests/interfaces/webcodecs-opus-codec-registration.idl
+++ b/testing/web-platform/tests/interfaces/webcodecs-opus-codec-registration.idl
@@ -9,6 +9,8 @@ partial dictionary AudioEncoderConfig {
dictionary OpusEncoderConfig {
OpusBitstreamFormat format = "opus";
+ OpusSignal signal = "auto";
+ OpusApplication application = "audio";
[EnforceRange] unsigned long long frameDuration = 20000;
[EnforceRange] unsigned long complexity;
[EnforceRange] unsigned long packetlossperc = 0;
@@ -20,3 +22,15 @@ enum OpusBitstreamFormat {
"opus",
"ogg",
};
+
+enum OpusSignal {
+ "auto",
+ "music",
+ "voice",
+};
+
+enum OpusApplication {
+ "voip",
+ "audio",
+ "lowdelay",
+};