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

Commit df809479 authored by Wei Jia's avatar Wei Jia
Browse files

NuPlayerRenderer: change log from ALOGW to ALOGV when audio sink reports WOULD_BLOCK on writing.

Bug: 21726662
Change-Id: I4aa63df7f21e06473594dda30a935e0f1cb745ac
parent 9cf332ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -789,7 +789,7 @@ bool NuPlayer::Renderer::onDrainAudioQueue() {
        if (written < 0) {
            // An error in AudioSink write. Perhaps the AudioSink was not properly opened.
            if (written == WOULD_BLOCK) {
                ALOGW("AudioSink write would block when writing %zu bytes", copy);
                ALOGV("AudioSink write would block when writing %zu bytes", copy);
            } else {
                ALOGE("AudioSink write error(%zd) when writing %zu bytes", written, copy);
                notifyAudioTearDown();