Home
last modified time | relevance | path

Searched refs:active_input (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/audio/hal/msm8960/
Dplatform.c707 audio_source_t source = (adev->active_input == NULL) ? in platform_get_input_snd_device()
708 AUDIO_SOURCE_DEFAULT : adev->active_input->source; in platform_get_input_snd_device()
711 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device()
712 AUDIO_DEVICE_NONE : adev->active_input->device) in platform_get_input_snd_device()
714 audio_channel_mask_t channel_mask = (adev->active_input == NULL) ? in platform_get_input_snd_device()
715 AUDIO_CHANNEL_IN_MONO : adev->active_input->channel_mask; in platform_get_input_snd_device()
801 if (adev->active_input) { in platform_get_input_snd_device()
802 if (adev->active_input->enable_aec) { in platform_get_input_snd_device()
/hardware/qcom/audio/msm8909/hal/msm8960/
Dplatform.c747 audio_source_t source = (adev->active_input == NULL) ? in platform_get_input_snd_device()
748 AUDIO_SOURCE_DEFAULT : adev->active_input->source; in platform_get_input_snd_device()
751 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device()
752 AUDIO_DEVICE_NONE : adev->active_input->device) in platform_get_input_snd_device()
754 audio_channel_mask_t channel_mask = (adev->active_input == NULL) ? in platform_get_input_snd_device()
755 AUDIO_CHANNEL_IN_MONO : adev->active_input->channel_mask; in platform_get_input_snd_device()
835 if (adev->active_input) { in platform_get_input_snd_device()
836 if (adev->active_input->enable_aec) { in platform_get_input_snd_device()
/hardware/qcom/audio/hal/msm8974/
Dplatform.c1981 audio_source_t source = (adev->active_input == NULL) ? in platform_get_input_snd_device()
1982 AUDIO_SOURCE_DEFAULT : adev->active_input->source; in platform_get_input_snd_device()
1985 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device()
1986 AUDIO_DEVICE_NONE : adev->active_input->device) in platform_get_input_snd_device()
1988 audio_channel_mask_t channel_mask = (adev->active_input == NULL) ? in platform_get_input_snd_device()
1989 AUDIO_CHANNEL_IN_MONO : adev->active_input->channel_mask; in platform_get_input_snd_device()
2073 if (adev->active_input->enable_aec) in platform_get_input_snd_device()
2079 if (adev->active_input->enable_aec) in platform_get_input_snd_device()
2086 if (adev->active_input->enable_aec) in platform_get_input_snd_device()
2103 if (adev->active_input->enable_ns) in platform_get_input_snd_device()
[all …]
/hardware/qcom/audio/msm8909/hal/msm8916/
Dplatform.c1862 audio_channel_mask_t channel_mask = (adev->active_input == NULL) ? in platform_get_output_snd_device()
1863 AUDIO_CHANNEL_IN_MONO : adev->active_input->channel_mask; in platform_get_output_snd_device()
2041 audio_source_t source = (adev->active_input == NULL) ? in platform_get_input_snd_device()
2042 AUDIO_SOURCE_DEFAULT : adev->active_input->source; in platform_get_input_snd_device()
2045 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device()
2046 AUDIO_DEVICE_NONE : adev->active_input->device) in platform_get_input_snd_device()
2048 audio_channel_mask_t channel_mask = (adev->active_input == NULL) ? in platform_get_input_snd_device()
2049 AUDIO_CHANNEL_IN_MONO : adev->active_input->channel_mask; in platform_get_input_snd_device()
2148 } else if (adev->active_input->enable_ns) in platform_get_input_snd_device()
2162 if (adev->active_input) { in platform_get_input_snd_device()
[all …]
/hardware/qcom/audio/msm8909/hal/msm8974/
Dplatform.c1740 audio_channel_mask_t channel_mask = (adev->active_input == NULL) ? in platform_get_output_snd_device()
1741 AUDIO_CHANNEL_IN_MONO : adev->active_input->channel_mask; in platform_get_output_snd_device()
1900 audio_source_t source = (adev->active_input == NULL) ? in platform_get_input_snd_device()
1901 AUDIO_SOURCE_DEFAULT : adev->active_input->source; in platform_get_input_snd_device()
1904 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device()
1905 AUDIO_DEVICE_NONE : adev->active_input->device) in platform_get_input_snd_device()
1907 audio_channel_mask_t channel_mask = (adev->active_input == NULL) ? in platform_get_input_snd_device()
1908 AUDIO_CHANNEL_IN_MONO : adev->active_input->channel_mask; in platform_get_input_snd_device()
2010 } else if (adev->active_input->enable_ns) in platform_get_input_snd_device()
2022 if (adev->active_input) { in platform_get_input_snd_device()
[all …]
/hardware/qcom/audio/hal/
Daudio_hw.h244 struct stream_in *active_input; member
Daudio_hw.c661 adev->active_input && in select_devices()
662 (adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION || in select_devices()
665 select_devices(adev, adev->active_input->usecase); in select_devices()
673 if (adev->active_input && in select_devices()
674 (adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION || in select_devices()
805 adev->active_input = NULL; in stop_input_stream()
845 adev->active_input = in; in start_input_stream()
910 adev->active_input = NULL; in start_input_stream()
2907 adev->active_input = ∈ in adev_verify_devices()
2913 adev->active_input = NULL; in adev_verify_devices()
[all …]
/hardware/qcom/audio/msm8909/hal/
Daudio_hw.h271 struct stream_in *active_input; member
Daudio_hw.c824 adev->active_input && in select_devices()
826 select_devices(adev, adev->active_input->usecase); in select_devices()
834 if ((adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION || in select_devices()
836 adev->active_input->source == AUDIO_SOURCE_MIC)) && in select_devices()
946 adev->active_input = NULL; in stop_input_stream()
1016 adev->active_input = in; in start_input_stream()
1085 adev->active_input = NULL; in start_input_stream()
3429 adev->active_input = NULL; in adev_open()
/hardware/qcom/audio/msm8909/hal/voice_extn/
Dcompress_voip.c614 adev->active_input = in; in voice_extn_compress_voip_start_input_stream()
673 adev->active_input = NULL; in voice_extn_compress_voip_close_input_stream()