Lines Matching refs:inputSource
362 audio_source_t inputSource = attr->source; in getInputForAttr() local
363 if (inputSource == AUDIO_SOURCE_DEFAULT) { in getInputForAttr()
364 inputSource = AUDIO_SOURCE_MIC; in getInputForAttr()
368 if ((inputSource < AUDIO_SOURCE_DEFAULT) in getInputForAttr()
369 || (inputSource >= AUDIO_SOURCE_CNT in getInputForAttr()
370 && inputSource != AUDIO_SOURCE_HOTWORD in getInputForAttr()
371 && inputSource != AUDIO_SOURCE_FM_TUNER in getInputForAttr()
372 && inputSource != AUDIO_SOURCE_ECHO_REFERENCE)) { in getInputForAttr()
401 if ((inputSource == AUDIO_SOURCE_VOICE_UPLINK || in getInputForAttr()
402 inputSource == AUDIO_SOURCE_VOICE_DOWNLINK || in getInputForAttr()
403 inputSource == AUDIO_SOURCE_VOICE_CALL || in getInputForAttr()
404 inputSource == AUDIO_SOURCE_ECHO_REFERENCE) && in getInputForAttr()
410 if ((inputSource == AUDIO_SOURCE_HOTWORD) && !canCaptureHotword) { in getInputForAttr()
475 status_t status = audioPolicyEffects->addInputEffects(*input, inputSource, session); in getInputForAttr()