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

Commit 023c5c93 authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am a16217ce: Merge "audio: fix output flag test in open_output_stream" into klp-dev

* commit 'a16217ce':
  audio: fix output flag test in open_output_stream
parents b1a7d2f9 a16217ce
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1863,6 +1863,7 @@ static int adev_open_output_stream(struct audio_hw_device *dev,

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