summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothCodecConfig.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-01-05 01:56:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-01-05 01:56:35 +0000
commit32e245a8270761cf87f594f5afd0a4cc52233e0d (patch)
treeacb41e7d4e5a2f2fdfbbebc5475b940907f35664 /framework/java/android/bluetooth/BluetoothCodecConfig.java
parent5b14cd33537ec116686072211c821878c5c6d368 (diff)
parent7ad3acbfcb80294a3fa03afbdca89663f2e581ef (diff)
Merge "Integration of the aptX and aptX-HD codecs for A2DP source"
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothCodecConfig.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothCodecConfig.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothCodecConfig.java b/framework/java/android/bluetooth/BluetoothCodecConfig.java
index 5cc127766e..67fdb0caf8 100644
--- a/framework/java/android/bluetooth/BluetoothCodecConfig.java
+++ b/framework/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;