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

Commit dcd99407 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "leaudio: Fix initialization of stream_conf" am: 9b62f5f1

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1918378

Change-Id: Ic96c88f8bda0d466da88f1863445c13dbde0277e
parents 34fa1ac1 9b62f5f1
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -192,6 +192,7 @@ class LeAudioDeviceGroup {
  explicit LeAudioDeviceGroup(const int group_id)
      : group_id_(group_id),
        cig_created_(false),
        stream_conf({}),
        audio_directions_(0),
        transport_latency_mtos_us_(0),
        transport_latency_stom_us_(0),
@@ -199,10 +200,6 @@ class LeAudioDeviceGroup {
        target_state_(types::AseState::BTA_LE_AUDIO_ASE_STATE_IDLE),
        current_state_(types::AseState::BTA_LE_AUDIO_ASE_STATE_IDLE),
        context_type_(types::LeAudioContextType::UNINITIALIZED) {
    stream_conf.valid = false;
    stream_conf.conf = nullptr;
    stream_conf.sink_num_of_devices = 0;
    stream_conf.source_num_of_devices = 0;
  }
  ~LeAudioDeviceGroup(void);