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

Commit 54d87481 authored by Eric Laurent's avatar Eric Laurent Committed by Automerger Merge Worker
Browse files

Merge "Spatializer: Log latency mode change from callback" into tm-qpr-dev am: 21cfc647

parents af400c81 21cfc647
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7500,6 +7500,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();
    }