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

Commit 67eb4657 authored by En-Shuo Hsu's avatar En-Shuo Hsu
Browse files

floss: metrics: fix the argument order

The second argument should be encoding_interval_millis instead of
num_dropped_buffers.

BUG: 239978865
Tag: #floss
Test: ./build.py
Test: emerge-${BOARD} floss
Test: gd/cert/run
Change-Id: I3d4f2704342a452f0875896ba1e2f8db098dbed3
parent 3d58f869
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1009,10 +1009,9 @@ static bool btif_a2dp_source_enqueue_callback(BT_HDR* p_buf, size_t frames_n,
        osi_free(p_data);
      }
    }
    log_a2dp_audio_overrun_event(btif_av_source_active_peer(), drop_n,
                                 btif_a2dp_source_cb.encoder_interval_ms,
                                 num_dropped_encoded_frames,
                                 num_dropped_encoded_bytes);
    log_a2dp_audio_overrun_event(
        btif_av_source_active_peer(), btif_a2dp_source_cb.encoder_interval_ms,
        drop_n, num_dropped_encoded_frames, num_dropped_encoded_bytes);

    // Intel controllers don't handle ReadRSSI, ReadFailedContactCounter, and
    // ReadTxPower very well, it sends back Hardware Error event which will