Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp79 const sp<AudioOutputDescriptor>& outputDesc) in sharesHwModuleWith() argument
81 if (outputDesc->isDuplicated()) { in sharesHwModuleWith()
82 return sharesHwModuleWith(outputDesc->subOutput1()) || in sharesHwModuleWith()
83 sharesHwModuleWith(outputDesc->subOutput2()); in sharesHwModuleWith()
85 return hasSameHwModuleAs(outputDesc); in sharesHwModuleWith()
262 const sp<AudioOutputDescriptor>& outputDesc) in sharesHwModuleWith() argument
265 return mOutput1->sharesHwModuleWith(outputDesc) || mOutput2->sharesHwModuleWith(outputDesc); in sharesHwModuleWith()
266 } else if (outputDesc->isDuplicated()){ in sharesHwModuleWith()
267 return sharesHwModuleWith(outputDesc->subOutput1()) || in sharesHwModuleWith()
268 sharesHwModuleWith(outputDesc->subOutput2()); in sharesHwModuleWith()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp500 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueFor(output); in createTelephonyPatch() local
501 ALOG_ASSERT(!outputDesc->isDuplicated(), in createTelephonyPatch()
503 outputDesc->toAudioPortConfig(&patch.sources[1]); in createTelephonyPatch()
704 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueAt(i); in setForceUse() local
705 audio_devices_t newDevice = getNewOutputDevice(outputDesc, true /*fromCache*/); in setForceUse()
706 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (outputDesc != mPrimaryOutput)) { in setForceUse()
707 waitMs = setOutputDevice(outputDesc, newDevice, (newDevice != AUDIO_DEVICE_NONE), in setForceUse()
711 applyStreamVolumes(outputDesc, newDevice, waitMs, true); in setForceUse()
976 sp<SwAudioOutputDescriptor> outputDesc = in getOutputForDevice() local
983 status = outputDesc->open(config, device, address, stream, *flags, &output); in getOutputForDevice()
[all …]
DAudioPolicyManager.h303 void addOutput(audio_io_handle_t output, const sp<SwAudioOutputDescriptor>& outputDesc);
321 … bool isStrategyActive(const sp<AudioOutputDescriptor>& outputDesc, routing_strategy strategy,
326 virtual uint32_t setOutputDevice(const sp<AudioOutputDescriptor>& outputDesc,
333 status_t resetOutputDevice(const sp<AudioOutputDescriptor>& outputDesc,
354 const sp<AudioOutputDescriptor>& outputDesc,
359 void applyStreamVolumes(const sp<AudioOutputDescriptor>& outputDesc,
365 const sp<AudioOutputDescriptor>& outputDesc,
372 const sp<AudioOutputDescriptor>& outputDesc,
425 audio_devices_t getNewOutputDevice(const sp<AudioOutputDescriptor>& outputDesc,
457 virtual uint32_t checkDeviceMuteStrategies(const sp<AudioOutputDescriptor>& outputDesc,
[all …]
/frameworks/compile/mclinker/lib/Script/
DUnaryOp.cpp80 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval()
102 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval()
173 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h50 virtual bool sharesHwModuleWith(const sp<AudioOutputDescriptor>& outputDesc);
105 virtual bool sharesHwModuleWith(const sp<AudioOutputDescriptor>& outputDesc);
/frameworks/compile/mclinker/include/mcld/Script/
DOperand.h164 const SectionMap::Output* outputDesc() const { return m_pOutputDesc; } in outputDesc() function
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp379 sp<AudioIoDescriptor> outputDesc = getIoDescriptor(output); in getLatency() local
380 if (outputDesc == 0) { in getLatency()
383 *latency = outputDesc->mLatency; in getLatency()