audio: fetch devices from the deviceportconfigs

As part of IModule::setAudioPatch, streams might have device
change. The new device portconfigs have the device information.

They should be same as devices fetched
mix port config id -> connected device port config ids [from mPatches]
-> associated AudioPorts [from ports] -> associated AudioDevices.

Bug: 370242708
Test: atest VtsHalAudioCoreTargetTest

Change-Id: I5765a1e5ea9f586add1c3ab50cbaef4641a32e1a
2 files changed