Skip to content

Commit c64274d

Browse files
neobuddy89mg712702
authored andcommitted
Disable Dual channel for SBC by default
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I82ca0aad54bb5a28dadcd845c8fcf87663fa3570
1 parent e7b3f08 commit c64274d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/com/android/bluetooth/a2dp/A2dpCodecConfig.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,6 @@ void enableOptionalCodecs(BluetoothDevice device, BluetoothCodecConfig currentCo
110110
BluetoothCodecConfig codecConfig = codecConfigArray[i];
111111
if (codecConfig != null && !codecConfig.isMandatoryCodec()) {
112112
codecConfigArray[i] = null;
113-
} else {
114-
// Rebuild SBC selectable codec with Dual Channel (SBC HD audio)
115-
codecConfigArray[i] = new BluetoothCodecConfig(
116-
BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC, mA2dpSourceCodecPrioritySbc,
117-
BluetoothCodecConfig.SAMPLE_RATE_NONE,
118-
BluetoothCodecConfig.BITS_PER_SAMPLE_NONE,
119-
BluetoothCodecConfig.CHANNEL_MODE_DUAL_CHANNEL, 0 /* codecSpecific1 */,
120-
0 /* codecSpecific2 */, 0 /* codecSpecific3 */, 0 /* codecSpecific4 */);
121113
}
122114
}
123115

0 commit comments

Comments
 (0)