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

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

Merge "hal: Fix voice call tx mute issue during voice and sva concurrency"

parents 4be82d80 24e9ad5c
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -436,9 +436,6 @@ void audio_extn_sound_trigger_update_device_status(snd_device_t snd_device,
    if (!st_dev)
       return;

    if (st_dev->sthal_prop_api_version >= STHAL_PROP_API_VERSION_1_0)
        return;

    if (snd_device >= SND_DEVICE_OUT_BEGIN &&
        snd_device < SND_DEVICE_OUT_END)
        device_type = PCM_PLAYBACK;
@@ -481,14 +478,15 @@ void audio_extn_sound_trigger_update_stream_status(struct audio_usecase *uc_info
    if (!st_dev)
       return;

    if (st_dev->sthal_prop_api_version < STHAL_PROP_API_VERSION_1_0)
        return;

    if (uc_info == NULL) {
        ALOGE("%s: usecase is NULL!!!", __func__);
        return;
    }

    if ((st_dev->sthal_prop_api_version < STHAL_PROP_API_VERSION_1_0) &&
        (uc_info->type != PCM_PLAYBACK))
        return;

    if ((uc_info->in_snd_device >= SND_DEVICE_IN_BEGIN &&
        uc_info->in_snd_device < SND_DEVICE_IN_END)) {
        if (is_same_as_st_device(uc_info->in_snd_device))