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

Commit 9a5e9f8e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[LE Audio] Correct the value of BIG parameter Max_SDU" into tm-qpr-dev

parents 13db081b 8f6e8b1d
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;