Index: chrome/common/extensions/api/webrtc_audio_private.idl |
diff --git a/chrome/common/extensions/api/webrtc_audio_private.idl b/chrome/common/extensions/api/webrtc_audio_private.idl |
index 32afbd48ee9288b4e4fac6c9807775132584a8e7..9151e115fcdc3560bb9ee8505bf301915ee6a4ac 100644 |
--- a/chrome/common/extensions/api/webrtc_audio_private.idl |
+++ b/chrome/common/extensions/api/webrtc_audio_private.idl |
@@ -50,6 +50,11 @@ namespace webrtcAudioPrivate { |
long? guestProcessId; |
}; |
+ dictionary AudioExperiments { |
+ // Enables or disables the new acoustic echo canceller (AEC3) in WebRTC. |
+ boolean? enableAec3; |
+ }; |
+ |
interface Functions { |
// Retrieves a list of available audio sink devices. |
static void getSinks(GetSinksCallback callback); |
@@ -75,6 +80,14 @@ namespace webrtcAudioPrivate { |
static void getAssociatedSink(DOMString securityOrigin, |
DOMString sourceIdInOrigin, |
SinkIdCallback cb); |
+ |
+ // Sets the active audio experiments. |
+ // |request|: Information about the requesting process. |
+ // |securityOrigin|: The origin to restrict the settings to. |
+ // |audioExperiments|: The experiments to enable or disable. |
+ static void setAudioExperiments(RequestInfo request, |
+ DOMString securityOrigin, |
+ AudioExperiments audioExperiments); |
}; |
interface Events { |