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

Commit 9c828d31 authored by Andy Hung's avatar Andy Hung Committed by Automerger Merge Worker
Browse files

Merge "Stop ALOGV processVolume_l log spam when MSD enabled" into main am:...

Merge "Stop ALOGV processVolume_l log spam when MSD enabled" into main am: 956a7a80 am: 084f37ae am: 6b4eea55 am: 9586333e am: 041f4502

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2745259



Change-Id: If73408b85a93d82059150e5e15b67fb576b3233c
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2c7de32c 041f4502
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -6542,12 +6542,11 @@ void DirectOutputThread::processVolume_l(IAfTrack* track, bool lastTrack)
    // Ensure volumeshaper state always advances even when muted.
    const sp<AudioTrackServerProxy> proxy = track->audioTrackServerProxy();

    const size_t framesReleased = proxy->framesReleased();
    const int64_t frames = mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL];
    const int64_t time = mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL];

    ALOGV("%s: Direct/Offload bufferConsumed:%zu  timestamp frames:%lld  time:%lld",
            __func__, framesReleased, (long long)frames, (long long)time);
    ALOGVV("%s: Direct/Offload bufferConsumed:%zu  timestamp frames:%lld  time:%lld",
            __func__, proxy->framesReleased(), (long long)frames, (long long)time);

    const int64_t volumeShaperFrames =
            mMonotonicFrameCounter.updateAndGetMonotonicFrameCount(frames, time);