Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp774 audio_io_handle_t activeInput = getActiveInput(); in setForceUse() local
775 if (activeInput != 0) { in setForceUse()
776 setInputDevice(activeInput, getNewInputDevice(activeInput)); in setForceUse()
1417 audio_io_handle_t activeInput = getActiveInput(); in startInput() local
1418 if (activeInput != 0 && activeInput != input) { in startInput()
1422 sp<AudioInputDescriptor> activeDesc = mInputs.valueFor(activeInput); in startInput()
1424 ALOGW("startInput(%d) preempting low-priority input %d", input, activeInput); in startInput()
1425 stopInput(activeInput, activeDesc->mSessions.itemAt(0)); in startInput()
1426 releaseInput(activeInput, activeDesc->mSessions.itemAt(0)); in startInput()
1428 ALOGE("startInput(%d) failed: other input %d already started", input, activeInput); in startInput()