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

Commit 126153a2 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio/provider: Improve dumpsys

Add empty line and channel count

name: SingleDev_OneChanMonoSnk_16_2_1
    direction: Sink (speaker)
     number of devices: 1
     number of ASEs: 1
     target latency: 2
     strategy: 0
     qos->retransmission_number: 2
     qos->max_transport_latency: 10
     channel count: 1

  === Configurations for context type: 2, num: 21
  name: DualDev_OneChanStereoSnk_OneChanMonoSrc_16_2_Server_Preferred
    direction: Sink (speaker)
     number of devices: 2
     number of ASEs: 2
     target latency: 2
     strategy: 0
     qos->retransmission_number: 0
     qos->max_transport_latency: 0
    direction: Source (mic)
     number of devices: 1
     number of ASEs: 1
     target latency: 2
     strategy: 0
     qos->retransmission_number: 0
     qos->max_transport_latency: 0
  name: DualDev_OneChanStereoSnk_OneChanMonoSrc_16_2_1

Bug:224933710

Test: Compile
Sponsor: @jpawlowski
Change-Id: I8226c327341058a0ed106f732176ddff24f0f299
parent fdc7ad32
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -510,7 +510,7 @@ struct AudioSetConfigurationProvider::impl {

    for (LeAudioContextType context : types::kLeAudioContextAllTypesArray) {
      auto confs = Get()->GetConfigurations(context);
      stream << "  === Configurations for context type: " << (int)context
      stream << "\n  === Configurations for context type: " << (int)context
             << ", num: " << (confs == nullptr ? 0 : confs->size()) << " \n";
      if (confs->size() > 0) {
        for (const auto& conf : *confs) {
@@ -527,7 +527,9 @@ struct AudioSetConfigurationProvider::impl {
                   << "     qos->retransmission_number: "
                   << +ent.qos.retransmission_number << " \n"
                   << "     qos->max_transport_latency: "
                   << +ent.qos.max_transport_latency << " \n";
                   << +ent.qos.max_transport_latency << " \n"
                   << "     channel count: "
                   << +ent.codec.GetConfigChannelCount() << "\n";
          }
        }
      }