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

Commit daa8bba5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "libaudiohal: Publish AUX type in proxy effects" into main

parents 69ea3edb 2dcfadd9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -207,6 +207,10 @@ Descriptor::Common EffectProxy::buildDescriptorCommon(
        if (desc.common.flags.volume == Flags::Volume::NONE) {
            common.flags.volume = Flags::Volume::NONE;
        }
        // set to AUXILIARY if any sub-effect is of AUXILIARY type
        if (desc.common.flags.type == Flags::Type::AUXILIARY) {
            common.flags.type = Flags::Type::AUXILIARY;
        }
    }

    // copy type UUID from any of sub-effects, all sub-effects should have same type