summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Pavlin Radoslavov <pavlin@google.com> 2017-01-04 16:47:02 -0800
committer Pavlin Radoslavov <pavlin@google.com> 2017-01-04 18:07:29 -0800
commitfad8b730d24a49d8e9e972b3a24ac64cbb97a7f3 (patch)
treeeeaf065aaecccefbe6b90ffc5a3bdf95383a8abf
parent5242acbd0bb1d3a56016b45455a06bdfa4b03675 (diff)
Integration of the LDAC codec for A2DP source
The codec can be used if the encoding shared library is installed on the device: libldacBT_enc.so Test: A2DP streaming to LDAC headsets Bug: 30958229 Change-Id: I524805fd308b5181427515617eda05625a7c4ae5
-rw-r--r--core/java/android/bluetooth/BluetoothCodecConfig.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/BluetoothCodecConfig.java b/core/java/android/bluetooth/BluetoothCodecConfig.java
index 67fdb0caf8f7..52cd2de4c2b6 100644
--- a/core/java/android/bluetooth/BluetoothCodecConfig.java
+++ b/core/java/android/bluetooth/BluetoothCodecConfig.java
@@ -53,6 +53,7 @@ public final class BluetoothCodecConfig implements Parcelable {
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_INVALID = 1000 * 1000;