Lines Matching refs:source

548     audio_source_t  source;  in get_input_snd_device()  local
560 source = (active_input == NULL) ? in get_input_snd_device()
561 AUDIO_SOURCE_DEFAULT : active_input->source; in get_input_snd_device()
605 } else if (source == AUDIO_SOURCE_CAMCORDER) { in get_input_snd_device()
610 } else if (source == AUDIO_SOURCE_VOICE_RECOGNITION) { in get_input_snd_device()
625 } else if (source == AUDIO_SOURCE_VOICE_COMMUNICATION || source == AUDIO_SOURCE_MIC) { in get_input_snd_device()
644 } else if (source == AUDIO_SOURCE_DEFAULT) { in get_input_snd_device()
853 active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION) { in select_devices()
861 if (active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION && in select_devices()
2763 … if (adev->active_input && (adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION || in out_set_parameters()
2764 adev->active_input->source == AUDIO_SOURCE_MIC)) { in out_set_parameters()
3036 (adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION || in out_write()
3037 adev->active_input->source == AUDIO_SOURCE_MIC)) { in out_write()
3603 if (((int)in->source != val) && (val != 0)) { in in_set_parameters()
3604 in->source = val; in in_set_parameters()
3790 if ((in->source == AUDIO_SOURCE_VOICE_COMMUNICATION) && in add_remove_audio_effect()
4286 audio_source_t source) in adev_open_input_stream() argument
4299 usecase_type_t usecase_type = source == AUDIO_SOURCE_HOTWORD ? in adev_open_input_stream()
4333 in->source = source; in adev_open_input_stream()
4346 if (source == AUDIO_SOURCE_HOTWORD) { in adev_open_input_stream()