OSDN Git Service

audiohal: Rename output flag VOIP_CALL_RX -> VOIP_RX
authorMikhail Naganov <mnaganov@google.com>
Tue, 14 Mar 2017 16:18:11 +0000 (09:18 -0700)
committerMikhail Naganov <mnaganov@google.com>
Tue, 14 Mar 2017 16:57:19 +0000 (09:57 -0700)
Makes the constant name consistent with non-Pixel HALs

Change-Id: I42d0f6eea2408ebd155848b85582a844687f106a
Test: make

audio/common/2.0/types.hal

index 93b898b..8760a58 100644 (file)
@@ -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_")