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

Commit 1dc7cc18 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Gerrit Code Review
Browse files

Merge "libaudiohal@aidl: Fix comparison parentheses" into main

parents 0e7c9f3d e592f1c2
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1708,8 +1708,8 @@ DeviceHalAidl::PortConfigs::iterator DeviceHalAidl::findPortConfig(
            [&](const auto& pair) {
            [&](const auto& pair) {
                const auto& p = pair.second;
                const auto& p = pair.second;
                LOG_ALWAYS_FATAL_IF(p.ext.getTag() == Tag::mix &&
                LOG_ALWAYS_FATAL_IF(p.ext.getTag() == Tag::mix &&
                        !p.sampleRate.has_value() || !p.channelMask.has_value() ||
                        (!p.sampleRate.has_value() || !p.channelMask.has_value() ||
                        !p.format.has_value() || !p.flags.has_value(),
                                !p.format.has_value() || !p.flags.has_value()),
                        "%s: stored mix port config is not fully specified: %s",
                        "%s: stored mix port config is not fully specified: %s",
                        __func__, p.toString().c_str());
                        __func__, p.toString().c_str());
                return p.ext.getTag() == Tag::mix &&
                return p.ext.getTag() == Tag::mix &&