Hung-Hsien Chen has uploaded the change for review![Open in Gerrit]()
Commit message
Pref: Add kInputKrispNoiseCancellationEnabled
This pref will be used to indicate whether the Krisp noise cancellation
is enabled or not.
It is expected to reflect corresponding changes from Admin Policy.
Will make the audio handler listen to this pref change in following CLs.
Bug: 463837927
Test: None
Change-Id: Ie762032ca9a80a5e0dcea1834a98dfe6c9e6a034
Change diff
diff --git a/ash/constants/ash_pref_names.h b/ash/constants/ash_pref_names.h
index 7e5efb8..6d9bc92 100644
--- a/ash/constants/ash_pref_names.h
+++ b/ash/constants/ash_pref_names.h
@@ -318,6 +318,10 @@
inline constexpr char kInputVoiceIsolationPreferredEffect[] =
"ash.input_voice_isolation_preferred_effect";
+// A boolean pref that controls whether Krisp noise cancellation is enabled.
+inline constexpr char kInputKrispNoiseCancellationEnabled[] =
+ "ash.input_krisp_noise_cancellation_enabled";
+
// A boolean pref that controls whether input noise cancellation is enabled.
inline constexpr char kInputNoiseCancellationEnabled[] =
"ash.input_noise_cancellation_enabled";
Change information
Files:
- M ash/constants/ash_pref_names.h
Change size: XS
Delta: 1 file changed, 4 insertions(+), 0 deletions(-)
Open in GerritRelated details
Attention set is empty
Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie762032ca9a80a5e0dcea1834a98dfe6c9e6a034
Gerrit-Change-Number: 7688578
Gerrit-PatchSet: 1