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

Commit 9f61b29a authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

audiohal: Rename output flag VOIP_CALL_RX -> VOIP_RX

Makes the constant name consistent with non-Pixel HALs

Change-Id: I42d0f6eea2408ebd155848b85582a844687f106a
Test: make
parent cd7bc8ff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -672,7 +672,7 @@ enum AudioOutputFlag : int32_t {
    DIRECT_PCM = 0x2000,     // Audio stream containing PCM data that needs
                             // to pass through compress path for DSP post proc.
    MMAP_NOIRQ = 0x4000, // output operates in MMAP no IRQ mode.
    VOIP_CALL_RX = 0x8000, // preferred output for VoIP calls.
    VOIP_RX = 0x8000,    // preferred output for VoIP calls.
};

/*
@@ -689,7 +689,7 @@ enum AudioInputFlag : int32_t {
    RAW          = 0x4,  // minimize signal processing
    SYNC         = 0x8,  // synchronize I/O streams
    MMAP_NOIRQ   = 0x10, // input operates in MMAP no IRQ mode.
    VOIP_CALL_TX = 0x20, // preferred input for VoIP calls.
    VOIP_TX      = 0x20, // preferred input for VoIP calls.
};

@export(name="audio_usage_t", value_prefix="AUDIO_USAGE_")