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

Commit 70b059b0 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: Fix ADM sampling rate for native playback."

parents 2be317c6 590d0432
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2775,6 +2775,8 @@ int select_devices(struct audio_device *adev, audio_usecase_t uc_id)
                    usecase->stream.out->sample_rate,
                    &usecase->stream.out->app_type_cfg.sample_rate);
        } else if (((out_snd_device != SND_DEVICE_OUT_HEADPHONES_44_1 &&
                     out_snd_device != SND_DEVICE_OUT_HEADPHONES &&
                     out_snd_device != SND_DEVICE_OUT_HEADPHONES_HIFI_FILTER &&
                     !audio_is_true_native_stream_active(adev)) &&
                    usecase->stream.out->sample_rate == OUTPUT_SAMPLING_RATE_44100) ||
                    (usecase->stream.out->sample_rate < OUTPUT_SAMPLING_RATE_44100)) {