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

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

Merge "hal: use ANC devices when ANC is enabled for Native streams"

parents 41bcca8e bffd2208
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2294,7 +2294,8 @@ snd_device_t platform_get_output_snd_device(void *platform, struct stream_out *o
    if (devices & AUDIO_DEVICE_OUT_WIRED_HEADPHONE ||
        devices & AUDIO_DEVICE_OUT_WIRED_HEADSET) {
        if (OUTPUT_SAMPLING_RATE_44100 == sample_rate &&
            platform_get_native_support()) {
            platform_get_native_support() &&
            !audio_extn_get_anc_enabled()) {
            snd_device = SND_DEVICE_OUT_HEADPHONES_44_1;
        }else if (devices & AUDIO_DEVICE_OUT_WIRED_HEADSET
            && audio_extn_get_anc_enabled()) {