a2dp: support lc3 codec playback

Add support for lc3 codec playback.

Change-Id: I11df956272068b6b7fe0911ce091225dccc4fd18
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h
index 415e4b0..52e5f20 100644
--- a/hal/msm8974/platform.h
+++ b/hal/msm8974/platform.h
@@ -50,6 +50,42 @@
     SPKR_2
 };
 
+enum {
+    AUDIO_LOCATION_NONE = 0x00000000, // Mono/Unspecified
+    AUDIO_LOCATION_FRONT_LEFT = 0x00000001,
+    AUDIO_LOCATION_FRONT_RIGHT = 0x00000002,
+    AUDIO_LOCATION_FRONT_CENTER = 0x00000004,
+    AUDIO_LOCATION_LOW_FREQUENCY = 0x00000008,
+    AUDIO_LOCATION_BACK_LEFT = 0x00000010,
+    AUDIO_LOCATION_BACK_RIGHT = 0x00000020,
+    AUDIO_LOCATION_FRONT_LEFT_OF_CENTER = 0x00000040,
+    AUDIO_LOCATION_FRONT_RIGHT_OF_CENTER = 0x00000080,
+    AUDIO_LOCATION_BACK_CENTER = 0x00000100,
+    AUDIO_LOCATION_LOW_FREQUENCY_2 = 0x00000200,
+    AUDIO_LOCATION_SIDE_LEFT = 0x00000400,
+    AUDIO_LOCATION_SIDE_RIGHT = 0x00000800,
+    AUDIO_LOCATION_TOP_FRONT_LEFT = 0x00001000,
+    AUDIO_LOCATION_TOP_FRONT_RIGHT = 0x00002000,
+    AUDIO_LOCATION_TOP_FRONT_CENTER = 0x00004000,
+    AUDIO_LOCATION_TOP_CENTER = 0x00008000,
+    AUDIO_LOCATION_TOP_BACK_LEFT = 0x00010000,
+    AUDIO_LOCATION_TOP_BACK_RIGHT = 0x00020000,
+    AUDIO_LOCATION_TOP_SIDE_LEFT = 0x00040000,
+    AUDIO_LOCATION_TOP_SIDE_RIGHT = 0x00080000,
+    AUDIO_LOCATION_TOP_BACK_CENTER = 0x00100000,
+    AUDIO_LOCATION_BOTTOM_FRONT_CENTER = 0x00200000,
+    AUDIO_LOCATION_BOTTOM_FRONT_LEFT = 0x00400000,
+    AUDIO_LOCATION_BOTTOM_FRONT_RIGHT = 0x00800000,
+    AUDIO_LOCATION_FRONT_LEFT_WIDE = 0x01000000,
+    AUDIO_LOCATION_FRONT_RIGHT_WIDE = 0x02000000,
+    AUDIO_LOCATION_LEFT_SURROUND = 0x04000000,
+    AUDIO_LOCATION_RIGHT_SURROUND = 0x08000000,
+    AUDIO_LOCATION_RESERVED_1 = 0x10000000,
+    AUDIO_LOCATION_RESERVED_2 = 0x20000000,
+    AUDIO_LOCATION_RESERVED_3 = 0x40000000,
+    AUDIO_LOCATION_RESERVED_4 = 0x80000000,
+};
+
 /* Sound devices specific to the platform
  * The DEVICE_OUT_* and DEVICE_IN_* should be mapped to these sound
  * devices to enable corresponding mixer paths
@@ -330,6 +366,7 @@
     /* For legacy xml file parsing */
     SND_DEVICE_IN_CAMCORDER_MIC = SND_DEVICE_IN_CAMCORDER_LANDSCAPE,
 };
+
 #define INPUT_SAMPLING_RATE_DSD64       2822400
 #define INPUT_SAMPLING_RATE_DSD128      5644800
 #define INPUT_SAMPLING_RATE_11025       11025