Merge "Add vendor codec type to support the vendor config and capability"

This commit is contained in:
Treehugger Robot
2022-01-21 00:43:42 +00:00
committed by Gerrit Code Review
3 changed files with 4 additions and 0 deletions

View File

@@ -41,4 +41,5 @@ enum CodecType {
APTX_HD = 4,
LDAC = 5,
LC3 = 6,
VENDOR = 7,
}

View File

@@ -26,4 +26,5 @@ enum CodecType {
APTX_HD,
LDAC,
LC3,
VENDOR,
}

View File

@@ -355,6 +355,7 @@ BluetoothAudioCodecs::GetA2dpOffloadCodecCapabilities(
kDefaultOffloadLc3Capability);
break;
case CodecType::UNKNOWN:
case CodecType::VENDOR:
codec_capability = {};
break;
}
@@ -420,6 +421,7 @@ bool BluetoothAudioCodecs::IsOffloadCodecConfigurationValid(
}
break;
case CodecType::UNKNOWN:
case CodecType::VENDOR:
break;
}
return false;