From 32d8c29f512efd52a8e04249d0c1535982fc71c1 Mon Sep 17 00:00:00 2001 From: Shunkai Yao Date: Sat, 21 Jan 2023 00:27:38 +0000 Subject: [PATCH] AIDL effect: add VERY_HIGH level in NoiseSuppression Bug: 261129656 Test: atest VtsHalAudioEffectTargetTest Test: atest VtsHalNSTargetTest Change-Id: I2afed63259f55b81101e4ae1239877d207fb740d --- .../current/android/hardware/audio/effect/NoiseSuppression.aidl | 1 + audio/aidl/android/hardware/audio/effect/NoiseSuppression.aidl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/audio/aidl/aidl_api/android.hardware.audio.effect/current/android/hardware/audio/effect/NoiseSuppression.aidl b/audio/aidl/aidl_api/android.hardware.audio.effect/current/android/hardware/audio/effect/NoiseSuppression.aidl index 397f89744d..1cf92ef8f4 100644 --- a/audio/aidl/aidl_api/android.hardware.audio.effect/current/android/hardware/audio/effect/NoiseSuppression.aidl +++ b/audio/aidl/aidl_api/android.hardware.audio.effect/current/android/hardware/audio/effect/NoiseSuppression.aidl @@ -50,5 +50,6 @@ union NoiseSuppression { LOW, MEDIUM, HIGH, + VERY_HIGH, } } diff --git a/audio/aidl/android/hardware/audio/effect/NoiseSuppression.aidl b/audio/aidl/android/hardware/audio/effect/NoiseSuppression.aidl index 946fa87bb0..9969a0b581 100644 --- a/audio/aidl/android/hardware/audio/effect/NoiseSuppression.aidl +++ b/audio/aidl/android/hardware/audio/effect/NoiseSuppression.aidl @@ -62,7 +62,7 @@ union NoiseSuppression { * suppression, NsConfig::SuppressionLevel::k12dB for MEDIUM, and * NsConfig::SuppressionLevel::k18dB for HIGH. */ - @VintfStability @Backing(type="int") enum Level { LOW, MEDIUM, HIGH } + @VintfStability @Backing(type="int") enum Level { LOW, MEDIUM, HIGH, VERY_HIGH } /** * The NS level.