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

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

Merge "Spatializer: Log latency mode change from callback" am: fd613525

parents 0d0f7480 fd613525
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();
    }