Lines Matching refs:ext
111 if (p.ext.getTag() != AudioPortExt::Tag::device) return false; in audioDeviceMatches()
112 return p.ext.get<AudioPortExt::Tag::device>().device == device; in audioDeviceMatches()
116 if (p.ext.getTag() != AudioPortExt::Tag::device) return false; in audioDeviceMatches()
122 return p.ext.get<AudioPortExt::Tag::device>().device == device; in audioDeviceMatches()
151 if (s.ext.getTag() == AudioPortExt::mix) { in createOrUpdatePatch()
158 s.ext.get<AudioPortExt::mix>().handle); in createOrUpdatePatch()
166 s.ext.get<AudioPortExt::mix>().handle, mInstance.c_str()); in createOrUpdatePatch()
186 [](const auto& config) { return config.ext.getTag() == AudioPortExt::device; }); in createOrUpdatePatch()
188 [](const auto& config) { return config.ext.getTag() == AudioPortExt::device; }); in createOrUpdatePatch()
403 requestedPortConfig.ext = AudioPortMixExt{ .handle = ioHandle }; in findOrCreateMixPortConfig()
406 requestedPortConfig.ext.get<AudioPortExt::Tag::mix>().usecase = in findOrCreateMixPortConfig()
419 AudioPortMixExt& mixExt = requestedPortConfig.ext.get<AudioPortExt::Tag::mix>(); in findOrCreateMixPortConfig()
439 if (requestedPortConfig.ext.getTag() == Tag::mix) { in findOrCreatePortConfig()
449 AudioSource source = requestedPortConfig.ext.get<Tag::mix>().usecase.getTag() == in findOrCreatePortConfig()
451 requestedPortConfig.ext.get<Tag::mix>().usecase. in findOrCreatePortConfig()
454 requestedPortConfig.ext.get<Tag::mix>().handle, source, destinationPortIds, in findOrCreatePortConfig()
456 } else if (requestedPortConfig.ext.getTag() == Tag::device) { in findOrCreatePortConfig()
470 requestedPortConfig.ext.get<Tag::device>().device, configPtr, gainConfigPtr, in findOrCreatePortConfig()
475 requestedPortConfig.ext.get<Tag::device>().device, nullptr /*config*/, in findOrCreatePortConfig()
575 return p.ext.getTag() == AudioPortExt::Tag::mix && in findPort()
617 LOG_ALWAYS_FATAL_IF(p.ext.getTag() == Tag::mix && in findPortConfig()
622 return p.ext.getTag() == Tag::mix && in findPortConfig()
626 p.ext.template get<Tag::mix>().handle == ioHandle; }); in findPortConfig()
660 if (port.ext.getTag() != AudioPortExt::Tag::device) { in initialize()
664 const AudioPortDeviceExt& deviceExt = port.ext.get<AudioPortExt::Tag::device>(); in initialize()
695 connectedRSubmixIn.ext.get<AudioPortExt::Tag::device>().device.address = in initialize()
712 tempConnectedRSubmixOut.ext.get<AudioPortExt::Tag::device>().device.address = in initialize()
766 auto portsIt = findPort(devicePort.ext.get<AudioPortExt::device>().device); in prepareToDisconnectExternalDevice()
983 AudioDevice matchDevice = devicePort.ext.get<AudioPortExt::device>().device; in setDevicePortConnectedState()
1032 AudioDevice matchDevice = devicePort.ext.get<AudioPortExt::device>().device; in setDevicePortConnectedState()
1051 port.ext.get<AudioPortExt::Tag::device>().device = matchDevice; in setDevicePortConnectedState()
1091 if (port->ext.getTag() == AudioPortExt::Tag::mix && portIt->second != *port) { in updateAudioPort()