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

Commit 0a87cb6b authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Minor log fix

Make log more informative

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

Change-Id: I71720e685fd0720d4bb49d7959adbcf768f62a6b
parent fe7fbb04
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1826,7 +1826,9 @@ class LeAudioClientImpl : public LeAudioClient {

    if (data.size() < 2 /* bytes per sample */ * 2 /* channels */ *
                          number_of_required_samples_per_channel) {
      LOG(ERROR) << __func__ << "Missing samples";
      LOG(ERROR) << __func__ << " Missing samples. Data size: " << +data.size()
                 << " expected: "
                 << 2 * 2 * number_of_required_samples_per_channel;
      return;
    }