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

Commit 4c474384 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Minor cleaning up fixes

Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: compile

Change-Id: I3ca50a82a233b1520c292cedddb31a8df191b349
parent 138e79ae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -125,6 +125,7 @@ class LeAudioClientImpl : public LeAudioClient {
      : gatt_if_(0),
        callbacks_(callbacks_),
        active_group_id_(bluetooth::groups::kGroupUnknown),
        stream_request_started_(false),
        current_context_type_(LeAudioContextType::MEDIA),
        audio_sink_ready_to_receive(false),
        audio_source_ready_to_send(false),
+5 −3
Original line number Diff line number Diff line
@@ -91,6 +91,7 @@ class LeAudioDevice {
        encrypted_(false),
        group_id_(group_id),
        csis_member_(false),
        audio_directions_(0),
        link_quality_timer(nullptr) {}
  ~LeAudioDevice(void);

@@ -186,15 +187,16 @@ class LeAudioDeviceGroup {
  types::AudioLocations snk_audio_locations_;
  types::AudioLocations src_audio_locations_;

  /* The below is used only for Coordinate sets */
  types::CsisDiscoveryState csis_discovery_state_;
  explicit LeAudioDeviceGroup(const int group_id)
      : group_id_(group_id),
        cig_created_(false),
        audio_directions_(0),
        transport_latency_mtos_(0),
        transport_latency_stom_(0),
        active_context_type_(types::LeAudioContextType::UNINITIALIZED),
        target_state_(types::AseState::BTA_LE_AUDIO_ASE_STATE_IDLE),
        current_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;
+1 −0
Original line number Diff line number Diff line
@@ -327,6 +327,7 @@ enum class AudioStreamDataPathState {

/* Context Types */
enum class LeAudioContextType : uint16_t {
  UNINITIALIZED = 0x0000,
  UNSPECIFIED = 0x0001,
  CONVERSATIONAL = 0x0002,
  MEDIA = 0x0004,