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

Commit 39555f50 authored by Christopher R. Palmer's avatar Christopher R. Palmer
Browse files

audiopolicy: Fix build for ! ENABLE_AV_ENHANCEMENTS

Change-Id: If58cf8b4e2d3c2554edea35a5e966b05fd925a85
parent 29b1fab8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3236,7 +3236,6 @@ return false;
               property_get("audio.offload.pcm.24bit.enable", propValue, NULL)) {
            prop_enabled = atoi(propValue) || !strncmp("true", propValue, 4);
        }
#endif

        if (prop_enabled) {
            ALOGI("PCM offload property is enabled");
@@ -3248,6 +3247,7 @@ return false;
            return false;
        }
    }
#endif

    if (!pcmOffload) {
        // Check if offload has been disabled