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

Commit 15d574ec authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: Correct the multi-channel output usecase selection"

parents 81d73341 86b0e2b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1984,7 +1984,7 @@ static int adev_open_output_stream(struct audio_hw_device *dev,
    out->handle = handle;

    /* Init use case and pcm_config */
    if (out->flags & AUDIO_OUTPUT_FLAG_DIRECT &&
    if (out->flags == AUDIO_OUTPUT_FLAG_DIRECT &&
        out->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) {
        pthread_mutex_lock(&adev->lock);
        ret = read_hdmi_channel_masks(out);