Home | History | Annotate | Download | only in hal

Lines Matching defs:source

2  * Copyright (C) 2015 The Android Open Source Project
517 audio_source_t source;
529 source = (active_input == NULL) ?
530 AUDIO_SOURCE_DEFAULT : active_input->source;
572 } else if (source == AUDIO_SOURCE_CAMCORDER) {
577 } else if (source == AUDIO_SOURCE_VOICE_RECOGNITION) {
592 } else if (source == AUDIO_SOURCE_VOICE_COMMUNICATION || source == AUDIO_SOURCE_MIC) {
611 } else if (source == AUDIO_SOURCE_DEFAULT) {
803 active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION) {
811 if (active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION &&
1910 if (adev->active_input && (adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION ||
1911 adev->active_input->source == AUDIO_SOURCE_MIC)) {
2089 (adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION ||
2090 adev->active_input->source == AUDIO_SOURCE_MIC)) {
2424 /* no audio source uses val == 0 */
2425 if (((int)in->source != val) && (val != 0)) {
2426 in->source = val;
2600 if ((in->source == AUDIO_SOURCE_VOICE_COMMUNICATION) &&
3009 audio_source_t source)
3022 usecase_type_t usecase_type = (source == AUDIO_SOURCE_HOTWORD) ?
3047 in->source = source;
3060 if (source == AUDIO_SOURCE_HOTWORD) {
3245 .author = "The Android Open Source Project",