Skip to content
Snippets Groups Projects
Commit e6b6d7b5 authored by Lab1's avatar Lab1
Browse files

remove default reproduction input type

parent 5ffa1584
No related branches found
No related tags found
1 merge request!9VAServerLauncher Improvement (now also sending reproduction type and ini)
...@@ -63,14 +63,13 @@ bool FVAServerLauncher::RemoteStartVAServer(const FString& Host, const int Port, ...@@ -63,14 +63,13 @@ bool FVAServerLauncher::RemoteStartVAServer(const FString& Host, const int Port,
} }
} }
if (ReproductionInputType != EReproductionInput::Default)
{
if (!SendReproductionInputSignalType(ReproductionInputType)) if (!SendReproductionInputSignalType(ReproductionInputType))
{ {
FVAUtils::OpenMessageBox("[FVAServerLauncher::RemoteStartVAServer()]: ReproductionInputType '" + EnumToString(ReproductionInputType) + FVAUtils::OpenMessageBox("[FVAServerLauncher::RemoteStartVAServer()]: ReproductionInputType '" + EnumToString(ReproductionInputType) +
"' could not be sent to VAServerLauncher. See error log for additional info. VAServerLauncher will run with default settings.", true); "' could not be sent to VAServerLauncher. See error log for additional info. VAServerLauncher will run with default settings.", true);
} }
}
//Send requested version //Send requested version
TArray<uint8> RequestData = ConvertString(VersionName); TArray<uint8> RequestData = ConvertString(VersionName);
...@@ -354,8 +353,6 @@ FString FVAServerLauncher::EnumToString(EReproductionInput Enum) ...@@ -354,8 +353,6 @@ FString FVAServerLauncher::EnumToString(EReproductionInput Enum)
{ {
switch (Enum) switch (Enum)
{ {
case EReproductionInput::Default:
return TEXT("default");
case EReproductionInput::Binaural: case EReproductionInput::Binaural:
return TEXT("binaural"); return TEXT("binaural");
case EReproductionInput::Ambisonics: case EReproductionInput::Ambisonics:
......
...@@ -9,7 +9,7 @@ class FVAServerLauncher ...@@ -9,7 +9,7 @@ class FVAServerLauncher
public: public:
// Remote Start VAServer // Remote Start VAServer
bool RemoteStartVAServer(const FString& Host, int Port, bool RemoteStartVAServer(const FString& Host, int Port,
const FString& VersionName, const FString& VARendererIni = "", const EReproductionInput ReproductionInputType = EReproductionInput::Default); const FString& VersionName, const FString& VARendererIni, const EReproductionInput ReproductionInputType);
bool StartVAServerLauncher(); bool StartVAServerLauncher();
......
...@@ -37,14 +37,12 @@ namespace EConnectionSetting ...@@ -37,14 +37,12 @@ namespace EConnectionSetting
UENUM() UENUM()
enum class EReproductionInput : uint8 enum class EReproductionInput : uint8
{ {
// [NOT RECOMMENDED] Use default reproduction modules
Default = 0,
// Use reproduction modules for binaural signals // Use reproduction modules for binaural signals
Binaural = 1, Binaural,
// Use reproduction modules for ambisonics signals // Use reproduction modules for ambisonics signals
Ambisonics = 2, Ambisonics,
// Use reproduction modules for custom purposes (e.g. mixed signal types) // Use reproduction modules for custom purposes (e.g. mixed signal types)
Custom = 3 Custom
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment