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

Commit 5410138c authored by Eric Laurent's avatar Eric Laurent Committed by Gerrit Code Review
Browse files

Merge "Configurable AudioPolicyEngine: Skip device count assert"

parents 156236bb ff1b503b
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -172,12 +172,6 @@ def parseAndroidAudioFile(androidaudiobaseheaderFile):
        logging.info("added stub input device mask")

    # Transform input source in inclusive criterion
    shift = len(all_component_types['OutputDevicesMask'])
    if shift > 32:
        logging.critical("OutputDevicesMask incompatible with criterion representation on 32 bits")
        logging.info("EXIT ON FAILURE")
        exit(1)

    for component_types in all_component_types:
        values = ','.join('{}:{}'.format(value, key) for key, value in all_component_types[component_types].items())
        logging.info("{}: <{}>".format(component_types, values))