Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp826 audio_io_handle_t activeInput = getActiveInput(); in setForceUse() local
827 if (activeInput != 0) { in setForceUse()
828 setInputDevice(activeInput, getNewInputDevice(activeInput)); in setForceUse()
1639 audio_io_handle_t activeInput = getActiveInput(); in startInput() local
1640 if (activeInput != 0 && activeInput != input) { in startInput()
1644 sp<AudioInputDescriptor> activeDesc = mInputs.valueFor(activeInput); in startInput()
1646 ALOGW("startInput(%d) preempting low-priority input %d", input, activeInput); in startInput()
1647 stopInput(activeInput, activeDesc->mSessions.itemAt(0)); in startInput()
1648 releaseInput(activeInput, activeDesc->mSessions.itemAt(0)); in startInput()
1650 ALOGE("startInput(%d) failed: other input %d already started", input, activeInput); in startInput()