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

Commit d323e541 authored by Amy's avatar Amy Committed by Amy Zhang
Browse files

Add property for stripping local audio when TV not support system audio.

Test: make -j18
Change-Id: I55c2f0e846cca93df5048be9f829cce095f3f474

Bug: 80297603
Change-Id: I17c85b3b52dc2be9a32f045f904e7b5358acd448
parent 0c499ab7
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -318,6 +318,17 @@ final class Constants {
    static final String PROPERTY_SYSTEM_AUDIO_DEVICE_ARC_PORT =
        "persist.sys.hdmi.property_sytem_audio_device_arc_port";

    /**
     * Property to strip local audio of amplifier and use local speaker
     * when TV does not support system audio mode.
     *
     * <p>This property applies to device with both audio system/playback types.
     * <p>True means using local speaker when TV does not support system audio.
     * <p>False means passing audio to TV. Default is true.
     */
    static final String PROPERTY_STRIP_AUDIO_TV_NO_SYSTEM_AUDIO =
        "persist.sys.hdmi.property_strip_audio_tv_no_system_audio";

    static final int RECORDING_TYPE_DIGITAL_RF = 1;
    static final int RECORDING_TYPE_ANALOGUE_RF = 2;
    static final int RECORDING_TYPE_EXTERNAL_PHYSICAL_ADDRESS = 3;