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

Commit 04b9352c authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "APM: do not use spatialier output when clients set preferred mixer attr" into main

parents 35711132 2462ce84
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1628,7 +1628,8 @@ audio_io_handle_t AudioPolicyManager::getOutputForDevices(

    *isSpatialized = false;
    if (mSpatializerOutput != nullptr
            && canBeSpatializedInt(attr, config, devices.toTypeAddrVector())) {
            && canBeSpatializedInt(attr, config, devices.toTypeAddrVector())
            && prefMixerConfigInfo == nullptr) {
        *isSpatialized = true;
        return mSpatializerOutput->mIoHandle;
    }