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

Commit c08872f9 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "NuPlayerRenderer: handle error when resuming an offloaded track" into mnc-dev

parents 39ff8149 97c9f4fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -325,7 +325,7 @@ status_t AudioTrack::set(
    mTransfer = transferType;
    mDoNotReconnect = doNotReconnect;

    ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %d", sharedBuffer->pointer(),
    ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %zu", sharedBuffer->pointer(),
            sharedBuffer->size());

    ALOGV("set() streamType %d frameCount %zu flags %04x", streamType, frameCount, flags);
+4 −1
Original line number Diff line number Diff line
@@ -1469,7 +1469,10 @@ void NuPlayer::Renderer::onResume() {

    if (mHasAudio) {
        cancelAudioOffloadPauseTimeout();
        mAudioSink->start();
        status_t err = mAudioSink->start();
        if (err != OK) {
            notifyAudioTearDown();
        }
    }

    {