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

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

Merge "hal: Avoid resetting device to speaker for HDMI passthrough case"

parents 012520aa d5349cee
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1811,6 +1811,7 @@ static int out_set_parameters(struct audio_stream *stream, const char *kvpairs)
        if ((out->devices == AUDIO_DEVICE_OUT_AUX_DIGITAL ||
                out->devices == AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET) &&
                val == AUDIO_DEVICE_NONE) {
            if (!audio_extn_dolby_is_passthrough_stream(out->flags))
                val = AUDIO_DEVICE_OUT_SPEAKER;
        }