Loading hal/audio_extn/soundtrigger.c +4 −6 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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)) Loading Loading
hal/audio_extn/soundtrigger.c +4 −6 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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)) Loading