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

Commit 633c1a78 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8872621 from 9a5e9f8e to tm-qpr1-release

Change-Id: I19d70f2bf116e780ba0dec21eae8b5b105012e5b
parents 4ee44b16 9a5e9f8e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ struct BroadcastCodecWrapper {
  }

  uint16_t GetMaxSduSize() const {
    return GetNumChannels() * GetMaxSduSizePerChannel();
    return GetNumChannelsPerBis() * GetMaxSduSizePerChannel();
  }

  const LeAudioCodecConfiguration& GetLeAudioCodecConfiguration() const {
@@ -112,6 +112,11 @@ struct BroadcastCodecWrapper {
    return source_codec_config.data_interval_us;
  }

  uint8_t GetNumChannelsPerBis() const {
    // TODO: Need to handle each BIS has more than one channel case
    return 1;
  }

 private:
  types::LeAudioCodecId codec_id;
  LeAudioCodecConfiguration source_codec_config;