Lines Matching refs:outputDevice
1287 status_t AudioPolicyManager::getBestMsdAudioProfileFor(const sp<DeviceDescriptor> &outputDevice, in getBestMsdAudioProfileFor() argument
1295 sp<HwModule> deviceModule = mHwModules.getModuleForDevice(outputDevice, AUDIO_FORMAT_DEFAULT); in getBestMsdAudioProfileFor()
1297 ALOGE("%s() unable to get module for %s", __func__, outputDevice->toString().c_str()); in getBestMsdAudioProfileFor()
1307 ALOGE("%s() no output profiles for device %s", __func__, outputDevice->toString().c_str()); in getBestMsdAudioProfileFor()
1329 __func__, outputDevice->toString().c_str(), hwAvSync); in getBestMsdAudioProfileFor()
1366 PatchBuilder AudioPolicyManager::buildMsdPatch(const sp<DeviceDescriptor> &outputDevice) const in buildMsdPatch()
1369 patchBuilder.addSource(getMsdAudioInDevice()).addSink(outputDevice); in buildMsdPatch()
1374 status_t res = getBestMsdAudioProfileFor(outputDevice, true /*hwAvSync*/, in buildMsdPatch()
1377 outputDevice, false /*hwAvSync*/, &sourceConfig, &sinkConfig); in buildMsdPatch()
1387 status_t AudioPolicyManager::setMsdPatch(const sp<DeviceDescriptor> &outputDevice) { in setMsdPatch() argument
1388 sp<DeviceDescriptor> device = outputDevice; in setMsdPatch()