You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Warn if multiple endpoint submix have been registered on a particular endpoint, as that isn't supported.
#rb trivial #jira none #ROBOMERGE-AUTHOR: jeff.newquist #ROBOMERGE-SOURCE: CL 18311510 in //UE5/Release-5.0/... via CL 18311641 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469) [CL 18311736 by jeff newquist in ue5-release-engine-test branch]
This commit is contained in:
@@ -663,7 +663,12 @@ public:
|
||||
};
|
||||
TSharedRef<IWinDualShockAudioDevice> Device =
|
||||
InputDevice ? InputDevice->GetAudioDevice(DeviceKey, AudioDeviceCreateFn) : GetEarlyAudioDevice(DeviceKey, AudioDeviceCreateFn);
|
||||
return TUniquePtr<IAudioEndpoint>(new FExternalWinDualShockEndpoint<PortType>(Device));
|
||||
FExternalWinDualShockEndpoint<PortType>* Endpoint = new FExternalWinDualShockEndpoint<PortType>(Device);
|
||||
if (!Endpoint->IsEndpointAllowed())
|
||||
{
|
||||
UE_LOG(LogWinDualShock, Warning, TEXT("Only one instance of %s endpoint submit is allowed. Additional instances ignored."), *GetEndpointTypeName().ToString());
|
||||
}
|
||||
return TUniquePtr<IAudioEndpoint>(Endpoint);
|
||||
}
|
||||
|
||||
virtual UClass* GetCustomSettingsClass() const override
|
||||
|
||||
Reference in New Issue
Block a user