Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/msm8974/
Dplatform.c601 audio_source_t source = (adev->active_input == NULL) ? in platform_get_input_snd_device()
602 AUDIO_SOURCE_DEFAULT : adev->active_input->source; in platform_get_input_snd_device()
605 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device()
606 AUDIO_DEVICE_NONE : adev->active_input->device) in platform_get_input_snd_device()
608 audio_channel_mask_t channel_mask = (adev->active_input == NULL) ? in platform_get_input_snd_device()
609 AUDIO_CHANNEL_IN_MONO : adev->active_input->channel_mask; in platform_get_input_snd_device()
694 if (adev->active_input) { in platform_get_input_snd_device()
695 if (adev->active_input->enable_aec) { in platform_get_input_snd_device()
/hardware/qcom/audio/hal/msm8960/
Dplatform.c650 audio_source_t source = (adev->active_input == NULL) ? in platform_get_input_snd_device()
651 AUDIO_SOURCE_DEFAULT : adev->active_input->source; in platform_get_input_snd_device()
654 audio_devices_t in_device = ((adev->active_input == NULL) ? in platform_get_input_snd_device()
655 AUDIO_DEVICE_NONE : adev->active_input->device) in platform_get_input_snd_device()
657 audio_channel_mask_t channel_mask = (adev->active_input == NULL) ? in platform_get_input_snd_device()
658 AUDIO_CHANNEL_IN_MONO : adev->active_input->channel_mask; in platform_get_input_snd_device()
743 if (adev->active_input) { in platform_get_input_snd_device()
744 if (adev->active_input->enable_aec) { in platform_get_input_snd_device()
/hardware/qcom/audio/hal/
Daudio_hw.h177 struct stream_in *active_input; member
Daudio_hw.c494 adev->active_input && in select_devices()
495 adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION) { in select_devices()
496 select_devices(adev, adev->active_input->usecase); in select_devices()
503 if (adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION && in select_devices()
577 adev->active_input = NULL; in stop_input_stream()
617 adev->active_input = in; in start_input_stream()
647 adev->active_input = NULL; in start_input_stream()
2357 adev->active_input = NULL; in adev_open()