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

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

Merge "Spatializer: Log latency mode change from callback"

parents 8a28c058 991405a0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7479,6 +7479,8 @@ void AudioFlinger::SpatializerThread::onRecommendedLatencyModeChanged(
        std::vector<audio_latency_mode_t> modes) {
    Mutex::Autolock _l(mLock);
    if (modes != mSupportedLatencyModes) {
        ALOGD("%s: thread(%d) supported latency modes: %s",
            __func__, mId, toString(modes).c_str());
        mSupportedLatencyModes.swap(modes);
        sendHalLatencyModesChangedEvent_l();
    }