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

Commit 956a7a80 authored by Andy Hung's avatar Andy Hung Committed by Gerrit Code Review
Browse files

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

parents 65411cc1 b11b0022
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -6167,12 +6167,11 @@ void AudioFlinger::DirectOutputThread::processVolume_l(Track *track, bool lastTr
    // Ensure volumeshaper state always advances even when muted.
    const sp<AudioTrackServerProxy> proxy = track->mAudioTrackServerProxy;

    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);