Loading services/audiopolicy/common/managerdefinitions/src/HwModule.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -333,9 +333,10 @@ sp<DeviceDescriptor> HwModuleCollection::getDeviceDescriptor(const audio_devices if (encodedFormat != AUDIO_FORMAT_DEFAULT) { moduleDevice->setEncodedFormat(encodedFormat); } moduleDevice->setAddress(devAddress); if (allowToCreate) { moduleDevice->attach(hwModule); moduleDevice->setAddress(devAddress); moduleDevice->setName(String8(name)); } return moduleDevice; } Loading Loading
services/audiopolicy/common/managerdefinitions/src/HwModule.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -333,9 +333,10 @@ sp<DeviceDescriptor> HwModuleCollection::getDeviceDescriptor(const audio_devices if (encodedFormat != AUDIO_FORMAT_DEFAULT) { moduleDevice->setEncodedFormat(encodedFormat); } moduleDevice->setAddress(devAddress); if (allowToCreate) { moduleDevice->attach(hwModule); moduleDevice->setAddress(devAddress); moduleDevice->setName(String8(name)); } return moduleDevice; } Loading