Fix compilation with SBC Dual Channel suport
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I6cf627e541efb1afe6758f1d13869c394f534fbd
diff --git a/system_bt_ext/stack/a2dp/a2dp_vendor_aptx_tws.cc b/system_bt_ext/stack/a2dp/a2dp_vendor_aptx_tws.cc
index 90e25b5..42f1ae0 100644
--- a/system_bt_ext/stack/a2dp/a2dp_vendor_aptx_tws.cc
+++ b/system_bt_ext/stack/a2dp/a2dp_vendor_aptx_tws.cc
@@ -652,6 +652,7 @@
return true;
}
break;
+ case BTAV_A2DP_CODEC_CHANNEL_MODE_DUAL_CHANNEL:
case BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO:
case BTAV_A2DP_CODEC_CHANNEL_MODE_NONE:
break;
@@ -844,6 +845,7 @@
codec_config_.channel_mode = codec_user_config_.channel_mode;
}
break;
+ case BTAV_A2DP_CODEC_CHANNEL_MODE_DUAL_CHANNEL:
case BTAV_A2DP_CODEC_CHANNEL_MODE_STEREO:
case BTAV_A2DP_CODEC_CHANNEL_MODE_NONE:
codec_capability_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE;