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

Commit 991405a0 authored by Andy Hung's avatar Andy Hung
Browse files

Spatializer: Log latency mode change from callback

Test: compiles - not seeing this called during playback or connection
Bug: 259477444
Merged-In: I521894ef874560b936ef79735431109055aa85c5
Change-Id: I521894ef874560b936ef79735431109055aa85c5
parent 5d8618db
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();
    }