Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f56afb30 authored by Shunkai Yao's avatar Shunkai Yao
Browse files

AIDL: Add BassBoost strength range in AIDL definition.

Bug: 261646550
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I38efed8c7cc88295c72403a3c598db5dedd8c137
parent 05d7ab4b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@ package android.hardware.audio.effect;
union BassBoost {
  android.hardware.audio.effect.VendorExtension vendor;
  int strengthPm;
  const int MIN_PER_MILLE_STRENGTH = 0;
  const int MAX_PER_MILLE_STRENGTH = 1000;
  @VintfStability
  union Id {
    int vendorExtensionTag;
+10 −0
Original line number Diff line number Diff line
@@ -58,6 +58,16 @@ union BassBoost {
        boolean strengthSupported;
    }

    /**
     * Minimal possible per mille strength.
     */
    const int MIN_PER_MILLE_STRENGTH = 0;

    /**
     * Maximum possible per mille strength.
     */
    const int MAX_PER_MILLE_STRENGTH = 1000;

    /**
     * The per mille strength of the bass boost effect.
     *