diff options
| author | 2017-01-05 02:17:35 +0000 | |
|---|---|---|
| committer | 2017-01-05 02:17:35 +0000 | |
| commit | 9569ea0b9370e47b5e381083dd512c0bccd07a78 (patch) | |
| tree | a05fef6d02ab9b394ec3d12805ddfecc81259249 | |
| parent | c9facc0a1f6f3facb7d67ddae9b8a04af78dad0c (diff) | |
| parent | 546866988a895859d29a655edbfec6f7bab9cba8 (diff) | |
Merge "Integration of the aptX and aptX-HD codecs for A2DP source" am: 5242acbd0b am: a750c90ac1 am: 5aaa985e97
am: 546866988a
Change-Id: Id2eb6fc928098fffdf1be85bc708efa8a1b7a339
| -rw-r--r-- | core/java/android/bluetooth/BluetoothCodecConfig.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/BluetoothCodecConfig.java b/core/java/android/bluetooth/BluetoothCodecConfig.java index 5cc127766e83..67fdb0caf8f7 100644 --- a/core/java/android/bluetooth/BluetoothCodecConfig.java +++ b/core/java/android/bluetooth/BluetoothCodecConfig.java @@ -47,7 +47,13 @@ public final class BluetoothCodecConfig implements Parcelable { public static final String EXTRA_PREVIOUS_CODEC_CONFIG = "android.bluetooth.codec.extra.PREVIOUS_CODEC_CONFIG"; + // Add an entry for each source codec here. + // 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_INVALID = 1000 * 1000; public static final int CODEC_PRIORITY_DEFAULT = 0; |