Merge "Integration of the aptX and aptX-HD codecs for A2DP source"
diff --git a/include/hardware/bt_av.h b/include/hardware/bt_av.h
index d0db96d..415c527 100644
--- a/include/hardware/bt_av.h
+++ b/include/hardware/bt_av.h
@@ -45,16 +45,20 @@
  */
 typedef enum {
   BTAV_A2DP_CODEC_INDEX_SOURCE_MIN = 0,
-  BTAV_A2DP_CODEC_INDEX_SOURCE_SBC = 0,
 
-  /* Add an entry for each new source codec here */
+  // Add an entry for each source codec here.
+  // NOTE: The values should be same as those listed in the following file:
+  //   BluetoothCodecConfig.java
+  BTAV_A2DP_CODEC_INDEX_SOURCE_SBC = 0,
+  BTAV_A2DP_CODEC_INDEX_SOURCE_APTX,
+  BTAV_A2DP_CODEC_INDEX_SOURCE_APTX_HD,
 
   BTAV_A2DP_CODEC_INDEX_SOURCE_MAX,
 
   BTAV_A2DP_CODEC_INDEX_SINK_MIN = BTAV_A2DP_CODEC_INDEX_SOURCE_MAX,
-  BTAV_A2DP_CODEC_INDEX_SINK_SBC = BTAV_A2DP_CODEC_INDEX_SINK_MIN,
 
-  /* Add an entry for each new sink codec here */
+  // Add an entry for each sink codec here
+  BTAV_A2DP_CODEC_INDEX_SINK_SBC = BTAV_A2DP_CODEC_INDEX_SINK_MIN,
 
   BTAV_A2DP_CODEC_INDEX_SINK_MAX,