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.cpp77 const sp<AudioOutputDescriptor>& outputDesc) in sharesHwModuleWith() argument
79 return hasSameHwModuleAs(outputDesc); in sharesHwModuleWith()
303 const sp<SwAudioOutputDescriptor>& outputDesc) in sharesHwModuleWith() argument
306 return mOutput1->sharesHwModuleWith(outputDesc) || mOutput2->sharesHwModuleWith(outputDesc); in sharesHwModuleWith()
307 } else if (outputDesc->isDuplicated()){ in sharesHwModuleWith()
308 return sharesHwModuleWith(outputDesc->subOutput1()) || in sharesHwModuleWith()
309 sharesHwModuleWith(outputDesc->subOutput2()); in sharesHwModuleWith()
311 return AudioOutputDescriptor::sharesHwModuleWith(outputDesc); in sharesHwModuleWith()
672 const sp<SwAudioOutputDescriptor> outputDesc = this->valueAt(i); in isActive() local
673 if (outputDesc->isActive(volumeSource, inPastMs, sysTime)) { in isActive()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1072 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(*output); in getOutputForAttr() local
1073 outputDesc->addClient(clientDesc); in getOutputForAttr()
1176 sp<SwAudioOutputDescriptor> outputDesc = in getOutputForDevices() local
1198 status = outputDesc->open(config, devices, stream, *flags, &output); in getOutputForDevices()
1202 (config->sample_rate != 0 && config->sample_rate != outputDesc->getSamplingRate()) || in getOutputForDevices()
1203 (config->format != AUDIO_FORMAT_DEFAULT && config->format != outputDesc->getFormat()) || in getOutputForDevices()
1204 (channelMask != 0 && channelMask != outputDesc->getChannelMask())) { in getOutputForDevices()
1207 outputDesc->getSamplingRate(), config->format, outputDesc->getFormat(), in getOutputForDevices()
1208 channelMask, outputDesc->getChannelMask()); in getOutputForDevices()
1210 outputDesc->close(); in getOutputForDevices()
[all …]
DAudioPolicyManager.h409 void addOutput(audio_io_handle_t output, const sp<SwAudioOutputDescriptor>& outputDesc);
415 uint32_t setOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc,
421 status_t resetOutputDevice(const sp<AudioOutputDescriptor>& outputDesc,
445 const sp<AudioOutputDescriptor>& outputDesc,
450 void applyStreamVolumes(const sp<AudioOutputDescriptor>& outputDesc,
465 const sp<AudioOutputDescriptor>& outputDesc,
480 const sp<AudioOutputDescriptor>& outputDesc,
552 DeviceVector getNewOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc,
591 virtual uint32_t checkDeviceMuteStrategies(const sp<AudioOutputDescriptor>& outputDesc,
676 status_t startSource(const sp<SwAudioOutputDescriptor>& outputDesc,
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h156 bool sharesHwModuleWith(const sp<AudioOutputDescriptor>& outputDesc);
331 bool sharesHwModuleWith(const sp<SwAudioOutputDescriptor>& outputDesc);
513 const sp<AudioOutputDescriptor> &outputDesc = valueAt(i); in isAnyOutputActive() local
514 if (outputDesc->isAnyActive(volumeSourceToIgnore)) { in isAnyOutputActive()
543 const sp<AudioOutputDescriptor> &outputDesc = valueAt(i); in isAnyOutputActive() local
544 if (outputDesc->isAnyActive(volumeSourceToIgnore)) { in isAnyOutputActive()
/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/compile/mclinker/include/mcld/Script/
DOperand.h164 const SectionMap::Output* outputDesc() const { return m_pOutputDesc; } in outputDesc() function
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp380 sp<AudioIoDescriptor> outputDesc = getIoDescriptor(output); in getLatency() local
381 if (outputDesc == 0) { in getLatency()
384 *latency = outputDesc->mLatency; in getLatency()