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