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

Commit 79c936de authored by Alice Kuo's avatar Alice Kuo
Browse files

Add vendor codec type to support the vendor config and capability

Bug: 203490261
Bug: 150670922
Test: make build
Change-Id: I26cdafe6b96a4c0a501f13bf790723c026029aa6
parent 63a4e9b2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,4 +41,5 @@ enum CodecType {
  APTX_HD = 4,
  LDAC = 5,
  LC3 = 6,
  VENDOR = 7,
}
+1 −0
Original line number Diff line number Diff line
@@ -26,4 +26,5 @@ enum CodecType {
    APTX_HD,
    LDAC,
    LC3,
    VENDOR,
}
+2 −0
Original line number Diff line number Diff line
@@ -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;