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

Commit 084f37ae 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: 956a7a80

parents 552961bf 956a7a80
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -6454,12 +6454,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);