Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52b869ba authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Merge "Integration of the aptX and aptX-HD codecs for A2DP source"

am: 32e245a8

Change-Id: I4007f4e68e889ed0a41ac5fc035f175e3709bb0d
parents 7794406f 32e245a8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;