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

Commit 416d4a8a authored by Wei Jia's avatar Wei Jia Committed by Android (Google) Code Review
Browse files

Merge "NuPlayerRenderer: change log from ALOGW to ALOGV when audio sink...

Merge "NuPlayerRenderer: change log from ALOGW to ALOGV when audio sink reports WOULD_BLOCK on writing." into mnc-dev
parents f49b5150 df809479
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -841,7 +841,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();