From ba5e29919dcc67bba3677902b342194bf82c4dda Mon Sep 17 00:00:00 2001 From: Pavlin Radoslavov Date: Sat, 14 Jan 2017 00:41:05 -0800 Subject: Integration of the AAC codec for A2DP source Test: A2DP streaming to AAC headsets Bug: 30958229 Change-Id: I1b530f1c5c495b8231fd68bed788d4567096683d --- framework/java/android/bluetooth/BluetoothCodecConfig.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'framework/java/android/bluetooth/BluetoothCodecConfig.java') diff --git a/framework/java/android/bluetooth/BluetoothCodecConfig.java b/framework/java/android/bluetooth/BluetoothCodecConfig.java index 52cd2de4c2..a37a0b38aa 100644 --- a/framework/java/android/bluetooth/BluetoothCodecConfig.java +++ b/framework/java/android/bluetooth/BluetoothCodecConfig.java @@ -51,9 +51,10 @@ public final class BluetoothCodecConfig implements Parcelable { // NOTE: The values should be same as those listed in the following file: // hardware/libhardware/include/hardware/bt_av.h public static final int SOURCE_CODEC_TYPE_SBC = 0; - public static final int SOURCE_CODEC_TYPE_APTX = 1; - public static final int SOURCE_CODEC_TYPE_APTX_HD = 2; - public static final int SOURCE_CODEC_TYPE_LDAC = 3; + public static final int SOURCE_CODEC_TYPE_AAC = 1; + public static final int SOURCE_CODEC_TYPE_APTX = 2; + public static final int SOURCE_CODEC_TYPE_APTX_HD = 3; + public static final int SOURCE_CODEC_TYPE_LDAC = 4; public static final int SOURCE_CODEC_TYPE_INVALID = 1000 * 1000; -- cgit v1.2.3