Lines Matching refs:source
517 audio_source_t source; in get_input_snd_device() local
529 source = (active_input == NULL) ? in get_input_snd_device()
530 AUDIO_SOURCE_DEFAULT : active_input->source; in get_input_snd_device()
572 } else if (source == AUDIO_SOURCE_CAMCORDER) { in get_input_snd_device()
577 } else if (source == AUDIO_SOURCE_VOICE_RECOGNITION) { in get_input_snd_device()
592 } else if (source == AUDIO_SOURCE_VOICE_COMMUNICATION || source == AUDIO_SOURCE_MIC) { in get_input_snd_device()
611 } else if (source == AUDIO_SOURCE_DEFAULT) { in get_input_snd_device()
803 active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION) { in select_devices()
811 if (active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION && in select_devices()
1911 … if (adev->active_input && (adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION || in out_set_parameters()
1912 adev->active_input->source == AUDIO_SOURCE_MIC)) { in out_set_parameters()
2103 (adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION || in out_write()
2104 adev->active_input->source == AUDIO_SOURCE_MIC)) { in out_write()
2439 if (((int)in->source != val) && (val != 0)) { in in_set_parameters()
2440 in->source = val; in in_set_parameters()
2614 if ((in->source == AUDIO_SOURCE_VOICE_COMMUNICATION) && in add_remove_audio_effect()
3027 audio_source_t source) in adev_open_input_stream() argument
3040 usecase_type_t usecase_type = (source == AUDIO_SOURCE_HOTWORD) ? in adev_open_input_stream()
3065 in->source = source; in adev_open_input_stream()
3078 if (source == AUDIO_SOURCE_HOTWORD) { in adev_open_input_stream()