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

Commit 504d8598 authored by Atneya Nair's avatar Atneya Nair
Browse files

Add hotword flags to audio input flags

Keep de-serializer in sync with new input flags.

Test: Compiles
Bug: 237449755
Change-Id: I74c4cba6b02348b0bed2cf8ef88148e8c0d49865
parent 36fee4d4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -274,8 +274,10 @@ package android.audio.policy.configuration {
    method @NonNull public String getRawName();
    enum_constant public static final android.audio.policy.configuration.AudioInOutFlag AUDIO_INPUT_FLAG_DIRECT;
    enum_constant public static final android.audio.policy.configuration.AudioInOutFlag AUDIO_INPUT_FLAG_FAST;
    enum_constant public static final android.audio.policy.configuration.AudioInOutFlag AUDIO_INPUT_FLAG_HOTWORD_TAP;
    enum_constant public static final android.audio.policy.configuration.AudioInOutFlag AUDIO_INPUT_FLAG_HW_AV_SYNC;
    enum_constant public static final android.audio.policy.configuration.AudioInOutFlag AUDIO_INPUT_FLAG_HW_HOTWORD;
    enum_constant public static final android.audio.policy.configuration.AudioInOutFlag AUDIO_INPUT_FLAG_HW_LOOKBACK;
    enum_constant public static final android.audio.policy.configuration.AudioInOutFlag AUDIO_INPUT_FLAG_MMAP_NOIRQ;
    enum_constant public static final android.audio.policy.configuration.AudioInOutFlag AUDIO_INPUT_FLAG_RAW;
    enum_constant public static final android.audio.policy.configuration.AudioInOutFlag AUDIO_INPUT_FLAG_SYNC;
+2 −0
Original line number Diff line number Diff line
@@ -191,6 +191,8 @@
            <xs:enumeration value="AUDIO_INPUT_FLAG_HW_AV_SYNC" />
            <xs:enumeration value="AUDIO_INPUT_FLAG_DIRECT" />
            <xs:enumeration value="AUDIO_INPUT_FLAG_ULTRASOUND" />
            <xs:enumeration value="AUDIO_INPUT_FLAG_HOTWORD_TAP" />
            <xs:enumeration value="AUDIO_INPUT_FLAG_HW_LOOKBACK" />
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="audioInOutFlags">