From 4f90ec10c695e5a46ebacee6c12682512a3c8ad3 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 20 Jun 2023 11:05:09 +0100 Subject: [PATCH] clear empty lines + add include --- Source/AzSpeech/AzSpeech.Build.cs | 2 +- .../Private/AzSpeech/AzSpeechHelper.cpp | 1 + .../AzSpeech/Public/AzSpeech/AzSpeechHelper.h | 34 +++++++++---------- .../Public/AzSpeech/AzSpeechSettings.h | 8 ++--- .../Runnables/AzSpeechRecognitionRunnable.h | 4 +-- .../Structures/AzSpeechAnimationData.h | 6 ++-- .../Structures/AzSpeechAudioInputDeviceInfo.h | 2 +- .../Structures/AzSpeechRecognitionMap.h | 2 +- .../Structures/AzSpeechSettingsOptions.h | 7 ++-- .../Bases/AzSpeechAudioDataSynthesisBase.h | 2 +- .../Tasks/Bases/AzSpeechRecognizerTaskBase.h | 8 ++--- .../Tasks/Bases/AzSpeechSpeechSynthesisBase.h | 2 +- .../Tasks/Bases/AzSpeechSynthesizerTaskBase.h | 10 +++--- .../AzSpeech/Tasks/Bases/AzSpeechTaskBase.h | 2 +- .../Bases/AzSpeechWavFileSynthesisBase.h | 4 +-- .../AzSpeech/Tasks/RecognitionMapCheckAsync.h | 2 +- .../AzSpeech/Tasks/SSMLToAudioDataAsync.h | 2 +- .../Public/AzSpeech/Tasks/SpeechToTextAsync.h | 4 +-- .../AzSpeech/Tasks/WavFileToTextAsync.h | 2 +- Source/AzSpeechEditor/AzSpeechEditor.Build.cs | 2 +- .../AzSpeechEditor/Private/AzSpeechEditor.cpp | 4 +-- .../Private/SAzSpeechAudioGenerator.cpp | 2 +- .../Private/SAzSpeechAudioGenerator.h | 2 +- .../AzureWrapper/AzureWrapper.Build.cs | 2 +- 24 files changed, 58 insertions(+), 58 deletions(-) diff --git a/Source/AzSpeech/AzSpeech.Build.cs b/Source/AzSpeech/AzSpeech.Build.cs index 4245f371..23a9043a 100644 --- a/Source/AzSpeech/AzSpeech.Build.cs +++ b/Source/AzSpeech/AzSpeech.Build.cs @@ -42,4 +42,4 @@ public AzSpeech(ReadOnlyTargetRules Target) : base(Target) PrivateIncludePathModuleNames.Add("DesktopPlatform"); } -} +} \ No newline at end of file diff --git a/Source/AzSpeech/Private/AzSpeech/AzSpeechHelper.cpp b/Source/AzSpeech/Private/AzSpeech/AzSpeechHelper.cpp index 6aa5a0f0..a86a95c3 100644 --- a/Source/AzSpeech/Private/AzSpeech/AzSpeechHelper.cpp +++ b/Source/AzSpeech/Private/AzSpeech/AzSpeechHelper.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #if WITH_EDITORONLY_DATA #include diff --git a/Source/AzSpeech/Public/AzSpeech/AzSpeechHelper.h b/Source/AzSpeech/Public/AzSpeech/AzSpeechHelper.h index de27cef3..73688aca 100644 --- a/Source/AzSpeech/Public/AzSpeech/AzSpeechHelper.h +++ b/Source/AzSpeech/Public/AzSpeech/AzSpeechHelper.h @@ -46,12 +46,12 @@ class AZSPEECH_API UAzSpeechHelper final : public UBlueprintFunctionLibrary return QualifyFileExtension(Path, Name, "xml"); } - /* + /* Convert .wav file to USoundWave. [OutputModule, RelativeOutputDirectory, OutputAssetName]: Used to save the generated audio data in project's content. Set empty values to generate a transient Sound Wave - OutputModule: Name of the module that will be used to save the generated audio data in project's content. Example: Game. + OutputModule: Name of the module that will be used to save the generated audio data in project's content. Example: Game. RelativeOutputDirectory: Directory where the sound wave will be saved OutputAssetName: Name of the generated Sound Wave @@ -60,12 +60,12 @@ class AZSPEECH_API UAzSpeechHelper final : public UBlueprintFunctionLibrary UFUNCTION(BlueprintCallable, Category = "AzSpeech | Audio", Meta = (DisplayName = "Convert .wav file to USoundWave")) static USoundWave* ConvertWavFileToSoundWave(const FString& FilePath, const FString& FileName, const FString& OutputModule = "", const FString& RelativeOutputDirectory = "", const FString& OutputAssetName = ""); - /* + /* Convert audio data (TArray) to USoundWave. [OutputModule, RelativeOutputDirectory, OutputAssetName]: Used to save the generated audio data in project's content. Set empty values to generate a transient Sound Wave - OutputModule: Name of the module that will be used to save the generated audio data in project's content. Example: Game. + OutputModule: Name of the module that will be used to save the generated audio data in project's content. Example: Game. RelativeOutputDirectory: Directory where the sound wave will be saved OutputAssetName: Name of the generated Sound Wave @@ -117,7 +117,7 @@ class AZSPEECH_API UAzSpeechHelper final : public UBlueprintFunctionLibrary /* Check if the content module is available */ UFUNCTION(BlueprintPure, Category = "AzSpeech | Utils") static const bool IsContentModuleAvailable(const FString& ModuleName); - + /* Get AzSpeech Friendly Name */ UFUNCTION(BlueprintPure, Category = "AzSpeech | Utils") static const FString GetPluginFriendlyName(); @@ -126,28 +126,28 @@ class AZSPEECH_API UAzSpeechHelper final : public UBlueprintFunctionLibrary UFUNCTION(BlueprintPure, Category = "AzSpeech | Utils") static const FString GetPluginVersion(); - /* + /* Extract the Animation JSON property from Viseme Data. JSON Body Format: [ FrameIndex: Integer, - BlendShapes: [ - [ - Number, - ... - ], - [ - Number, - ... - ], - ... + BlendShapes: [ + [ + Number, + ... + ], + [ + Number, + ... + ], + ... ] ] */ UFUNCTION(BlueprintPure, Category = "AzSpeech | Data") static const FAzSpeechAnimationData ExtractAnimationDataFromVisemeData(const FAzSpeechVisemeData& VisemeData); - + /* Extract the Animation JSON property from Viseme Data Array. diff --git a/Source/AzSpeech/Public/AzSpeech/AzSpeechSettings.h b/Source/AzSpeech/Public/AzSpeech/AzSpeechSettings.h index 733fec0d..9ba81d2d 100644 --- a/Source/AzSpeech/Public/AzSpeech/AzSpeechSettings.h +++ b/Source/AzSpeech/Public/AzSpeech/AzSpeechSettings.h @@ -12,7 +12,7 @@ #include "AzSpeechSettings.generated.h" /** - * + * */ UCLASS(Config = Plugins, DefaultConfig, meta = (DisplayName="AzSpeech")) class AZSPEECH_API UAzSpeechSettings final : public UDeveloperSettings @@ -37,8 +37,8 @@ class AZSPEECH_API UAzSpeechSettings final : public UDeveloperSettings /* Thread update interval: Sleep time between task update checks */ UPROPERTY(GlobalConfig, EditAnywhere, Category = "Thread", Meta = (DisplayName = "Thread Update Interval", ClampMin = "0.0001", UIMin = "0.0001", ClampMax = "1", UIMax = "1")) - float ThreadUpdateInterval; - + float ThreadUpdateInterval; + /* If enabled, SSML synthesizers tasks with viseme output type set to FacialExpression will return only data that contains the Animation property */ UPROPERTY(GlobalConfig, EditAnywhere, Category = "Information", Meta = (DisplayName = "Filter Viseme Facial Expression")) bool bFilterVisemeFacialExpression; @@ -54,7 +54,7 @@ class AZSPEECH_API UAzSpeechSettings final : public UDeveloperSettings /* Will print extra debugging informations in log */ UPROPERTY(GlobalConfig, EditAnywhere, Category = "Information", Meta = (DisplayName = "Enable Debugging Logs")) bool bEnableDebuggingLogs; - + /* Will print extra debugging informations in screen */ UPROPERTY(GlobalConfig, EditAnywhere, Category = "Information", Meta = (DisplayName = "Enable Debugging Prints")) bool bEnableDebuggingPrints; diff --git a/Source/AzSpeech/Public/AzSpeech/Runnables/AzSpeechRecognitionRunnable.h b/Source/AzSpeech/Public/AzSpeech/Runnables/AzSpeechRecognitionRunnable.h index bdae1dd2..71972e76 100644 --- a/Source/AzSpeech/Public/AzSpeech/Runnables/AzSpeechRecognitionRunnable.h +++ b/Source/AzSpeech/Public/AzSpeech/Runnables/AzSpeechRecognitionRunnable.h @@ -16,9 +16,9 @@ THIRD_PARTY_INCLUDES_END /** * */ - + class FAzSpeechRecognitionRunnable : public FAzSpeechRunnableBase -{ +{ public: FAzSpeechRecognitionRunnable() = delete; FAzSpeechRecognitionRunnable(UAzSpeechTaskBase* InOwningTask, const std::shared_ptr& InAudioConfig); diff --git a/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechAnimationData.h b/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechAnimationData.h index 592522cc..a20ac216 100644 --- a/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechAnimationData.h +++ b/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechAnimationData.h @@ -13,7 +13,7 @@ struct AZSPEECH_API FAzSpeechBlendShapes GENERATED_BODY() FAzSpeechBlendShapes() = default; - + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "AzSpeech") TArray Data; }; @@ -22,12 +22,12 @@ USTRUCT(BlueprintType, Category = "AzSpeech") struct AZSPEECH_API FAzSpeechAnimationData { GENERATED_BODY() - + FAzSpeechAnimationData() = default; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "AzSpeech") int32 FrameIndex = 0; - + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "AzSpeech") TArray BlendShapes; }; \ No newline at end of file diff --git a/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechAudioInputDeviceInfo.h b/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechAudioInputDeviceInfo.h index 29934381..b476b1c3 100644 --- a/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechAudioInputDeviceInfo.h +++ b/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechAudioInputDeviceInfo.h @@ -39,7 +39,7 @@ struct AZSPEECH_API FAzSpeechAudioInputDeviceInfo return Output; } - + const FString GetAudioInputDeviceEndpointID() const { // {0.0.1.00000000}.{Device ID} diff --git a/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechRecognitionMap.h b/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechRecognitionMap.h index ca409189..10f08da5 100644 --- a/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechRecognitionMap.h +++ b/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechRecognitionMap.h @@ -11,7 +11,7 @@ USTRUCT(BlueprintType, Category = "AzSpeech") struct AZSPEECH_API FAzSpeechRecognitionData { GENERATED_BODY() - + FAzSpeechRecognitionData() : Value(0), Weight(1) {}; FAzSpeechRecognitionData(const int32 InValue) : Value(InValue) {}; FAzSpeechRecognitionData(const int32 InValue, const int32 InWeight) : Value(InValue), Weight(InWeight) {}; diff --git a/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechSettingsOptions.h b/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechSettingsOptions.h index 9649d797..ffc11410 100644 --- a/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechSettingsOptions.h +++ b/Source/AzSpeech/Public/AzSpeech/Structures/AzSpeechSettingsOptions.h @@ -123,7 +123,6 @@ struct AZSPEECH_API FAzSpeechRecognitionOptions void SetDefaults(); }; - USTRUCT(BlueprintType, Category = "AzSpeech") struct AZSPEECH_API FAzSpeechSynthesisOptions { @@ -167,16 +166,16 @@ USTRUCT(BlueprintType, Category = "AzSpeech") struct AZSPEECH_API FAzSpeechSettingsOptions { GENERATED_BODY() - + public: FAzSpeechSettingsOptions(); UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Azure", Meta = (DisplayName = "Subscription Options")) FAzSpeechSubscriptionOptions SubscriptionOptions; - + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Azure", Meta = (DisplayName = "Recognition Options")) FAzSpeechRecognitionOptions RecognitionOptions; - + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Azure", Meta = (DisplayName = "Synthesis Options")) FAzSpeechSynthesisOptions SynthesisOptions; diff --git a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechAudioDataSynthesisBase.h b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechAudioDataSynthesisBase.h index 8b649240..2f108db0 100644 --- a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechAudioDataSynthesisBase.h +++ b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechAudioDataSynthesisBase.h @@ -15,7 +15,7 @@ UCLASS(Abstract, NotPlaceable, Category = "AzSpeech", meta = (ExposedAsyncProxy class AZSPEECH_API UAzSpeechAudioDataSynthesisBase : public UAzSpeechSynthesizerTaskBase { GENERATED_BODY() - + protected: virtual bool StartAzureTaskWork() override; diff --git a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechRecognizerTaskBase.h b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechRecognizerTaskBase.h index 2d415c50..6e7701be 100644 --- a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechRecognizerTaskBase.h +++ b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechRecognizerTaskBase.h @@ -25,8 +25,8 @@ class AZSPEECH_API UAzSpeechRecognizerTaskBase : public UAzSpeechTaskBase GENERATED_BODY() friend class FAzSpeechRecognitionRunnable; - -public: + +public: /* Task delegate that will be called when completed */ UPROPERTY(BlueprintAssignable, Category = "AzSpeech") FRecognitionCompletedDelegate RecognitionCompleted; @@ -55,11 +55,11 @@ class AZSPEECH_API UAzSpeechRecognizerTaskBase : public UAzSpeechTaskBase UFUNCTION(BlueprintPure, Category = "AzSpeech") const int32 GetRecognitionLatency() const; - + protected: FName PhraseListGroup = NAME_None; FAzSpeechRecognitionOptions RecognitionOptions; - + void StartRecognitionWork(const std::shared_ptr& InAudioConfig); virtual void BroadcastFinalResult() override; diff --git a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechSpeechSynthesisBase.h b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechSpeechSynthesisBase.h index f3f53317..ab294a8d 100644 --- a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechSpeechSynthesisBase.h +++ b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechSpeechSynthesisBase.h @@ -31,7 +31,7 @@ class AZSPEECH_API UAzSpeechSpeechSynthesisBase : public UAzSpeechAudioDataSynth UFUNCTION() void OnAudioPlayStateChanged(const EAudioComponentPlayState PlayState); - + private: TWeakObjectPtr AudioComponent; }; diff --git a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechSynthesizerTaskBase.h b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechSynthesizerTaskBase.h index d734be18..96b70961 100644 --- a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechSynthesizerTaskBase.h +++ b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechSynthesizerTaskBase.h @@ -32,7 +32,7 @@ class AZSPEECH_API UAzSpeechSynthesizerTaskBase : public UAzSpeechTaskBase friend class FAzSpeechSynthesisRunnable; -public: +public: /* Task delegate that will be called when dpdated */ UPROPERTY(BlueprintAssignable, Category = "AzSpeech") FAzSpeechTaskGenericDelegate SynthesisUpdated; @@ -96,16 +96,16 @@ class AZSPEECH_API UAzSpeechSynthesizerTaskBase : public UAzSpeechTaskBase UFUNCTION(BlueprintPure, Category = "AzSpeech") const int32 GetServiceLatency() const; - + protected: FString SynthesisText; FAzSpeechSynthesisOptions SynthesisOptions; - + void StartSynthesisWork(const std::shared_ptr& InAudioConfig); - + virtual void OnVisemeReceived(const FAzSpeechVisemeData& VisemeData); virtual void OnSynthesisUpdate(const std::shared_ptr& LastResult); - + private: std::vector AudioData; TArray VisemeDataArray; diff --git a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechTaskBase.h b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechTaskBase.h index 215b242f..d54c6fc8 100644 --- a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechTaskBase.h +++ b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechTaskBase.h @@ -111,7 +111,7 @@ class AZSPEECH_API UAzSpeechTaskStatus final : public UBlueprintFunctionLibrary static bool IsTaskActive(const UAzSpeechTaskBase* Test); UFUNCTION(BlueprintPure, Category = "AzSpeech") - static bool IsTaskReadyToDestroy(const UAzSpeechTaskBase* Test); + static bool IsTaskReadyToDestroy(const UAzSpeechTaskBase* Test); UFUNCTION(BlueprintPure, Category = "AzSpeech") static bool IsTaskStillValid(const UAzSpeechTaskBase* Test); diff --git a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechWavFileSynthesisBase.h b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechWavFileSynthesisBase.h index 3c445263..3af5e0c4 100644 --- a/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechWavFileSynthesisBase.h +++ b/Source/AzSpeech/Public/AzSpeech/Tasks/Bases/AzSpeechWavFileSynthesisBase.h @@ -20,8 +20,8 @@ class AZSPEECH_API UAzSpeechWavFileSynthesisBase : public UAzSpeechSynthesizerTa /* Task delegate that will be called when completed */ UPROPERTY(BlueprintAssignable, Category = "AzSpeech") FBooleanSynthesisDelegate SynthesisCompleted; - - virtual void Activate() override; + + virtual void Activate() override; virtual void SetReadyToDestroy() override; protected: diff --git a/Source/AzSpeech/Public/AzSpeech/Tasks/RecognitionMapCheckAsync.h b/Source/AzSpeech/Public/AzSpeech/Tasks/RecognitionMapCheckAsync.h index 37acad0e..f76db52d 100644 --- a/Source/AzSpeech/Public/AzSpeech/Tasks/RecognitionMapCheckAsync.h +++ b/Source/AzSpeech/Public/AzSpeech/Tasks/RecognitionMapCheckAsync.h @@ -47,7 +47,7 @@ class AZSPEECH_API URecognitionMapCheckAsync : public UBlueprintAsyncActionBase void BroadcastResult(const int32 Result); const int32 CheckRecognitionResult() const; const bool CheckStringContains(const FString& KeyType, const FString& Key) const; - + const FName GetStringDelimiters() const; const bool CheckStringDelimiters(const int32 Index) const; diff --git a/Source/AzSpeech/Public/AzSpeech/Tasks/SSMLToAudioDataAsync.h b/Source/AzSpeech/Public/AzSpeech/Tasks/SSMLToAudioDataAsync.h index 13800c38..af1fc36f 100644 --- a/Source/AzSpeech/Public/AzSpeech/Tasks/SSMLToAudioDataAsync.h +++ b/Source/AzSpeech/Public/AzSpeech/Tasks/SSMLToAudioDataAsync.h @@ -32,7 +32,7 @@ class AZSPEECH_API USSMLToAudioDataAsync : public UAzSpeechAudioDataSynthesisBas /* Creates a SSML-To-AudioData task that will convert your SSML file to a audio data */ UFUNCTION(BlueprintCallable, Category = "AzSpeech | Custom", meta = (BlueprintInternalUseOnly = "true", WorldContext = "WorldContextObject", DisplayName = "SSML To Audio Data with Custom Options")) static USSMLToAudioDataAsync* SSMLToAudioData_CustomOptions(UObject* WorldContextObject, const FAzSpeechSubscriptionOptions SubscriptionOptions, const FAzSpeechSynthesisOptions SynthesisOptions, const FString& SynthesisSSML); - + protected: virtual void BroadcastFinalResult() override; }; diff --git a/Source/AzSpeech/Public/AzSpeech/Tasks/SpeechToTextAsync.h b/Source/AzSpeech/Public/AzSpeech/Tasks/SpeechToTextAsync.h index 5267fce4..23dd4c0d 100644 --- a/Source/AzSpeech/Public/AzSpeech/Tasks/SpeechToTextAsync.h +++ b/Source/AzSpeech/Public/AzSpeech/Tasks/SpeechToTextAsync.h @@ -26,13 +26,13 @@ class AZSPEECH_API USpeechToTextAsync : public UAzSpeechRecognizerTaskBase static USpeechToTextAsync* SpeechToText_CustomOptions(UObject* WorldContextObject, const FAzSpeechSubscriptionOptions SubscriptionOptions, const FAzSpeechRecognitionOptions RecognitionOptions, const FString& AudioInputDeviceID = "Default", const FName PhraseListGroup = NAME_None); virtual void Activate() override; - + UFUNCTION(BlueprintPure, Category = "AzSpeech") bool IsUsingDefaultAudioInputDevice() const; protected: virtual bool StartAzureTaskWork() override; - + private: FString AudioInputDeviceID; }; diff --git a/Source/AzSpeech/Public/AzSpeech/Tasks/WavFileToTextAsync.h b/Source/AzSpeech/Public/AzSpeech/Tasks/WavFileToTextAsync.h index 1be1a460..f67b5229 100644 --- a/Source/AzSpeech/Public/AzSpeech/Tasks/WavFileToTextAsync.h +++ b/Source/AzSpeech/Public/AzSpeech/Tasks/WavFileToTextAsync.h @@ -29,7 +29,7 @@ class AZSPEECH_API UWavFileToTextAsync : public UAzSpeechRecognizerTaskBase protected: virtual bool StartAzureTaskWork() override; - + private: FString FilePath; FString FileName; diff --git a/Source/AzSpeechEditor/AzSpeechEditor.Build.cs b/Source/AzSpeechEditor/AzSpeechEditor.Build.cs index c56f1432..285ab0f4 100644 --- a/Source/AzSpeechEditor/AzSpeechEditor.Build.cs +++ b/Source/AzSpeechEditor/AzSpeechEditor.Build.cs @@ -31,4 +31,4 @@ public AzSpeechEditor(ReadOnlyTargetRules Target) : base(Target) "WorkspaceMenuStructure" }); } -} +} \ No newline at end of file diff --git a/Source/AzSpeechEditor/Private/AzSpeechEditor.cpp b/Source/AzSpeechEditor/Private/AzSpeechEditor.cpp index 7e5812f0..72424d21 100644 --- a/Source/AzSpeechEditor/Private/AzSpeechEditor.cpp +++ b/Source/AzSpeechEditor/Private/AzSpeechEditor.cpp @@ -48,7 +48,7 @@ void FAzSpeechEditorModule::RegisterMenus() #endif const TSharedPtr Menu = WorkspaceMenu::GetMenuStructure().GetToolsCategory()->AddGroup(LOCTEXT("AzSpeechCategory", "AzSpeech"), LOCTEXT("AzSpeechCategoryTooltip", "AzSpeech Plugin Tabs"), FSlateIcon(AppStyleName, "Icons.Package")); - + FGlobalTabmanager::Get()->RegisterNomadTabSpawner(AzSpeechEditorTabName, EditorTabSpawnerDelegate) .SetDisplayName(FText::FromString("AzSpeech Audio Generator")) .SetTooltipText(FText::FromString("Open AzSpeech Audio Generator")) @@ -57,5 +57,5 @@ void FAzSpeechEditorModule::RegisterMenus() } #undef LOCTEXT_NAMESPACE - + IMPLEMENT_MODULE(FAzSpeechEditorModule, AzSpeechEditor) \ No newline at end of file diff --git a/Source/AzSpeechEditor/Private/SAzSpeechAudioGenerator.cpp b/Source/AzSpeechEditor/Private/SAzSpeechAudioGenerator.cpp index 1e2528e8..9db9f2ec 100644 --- a/Source/AzSpeechEditor/Private/SAzSpeechAudioGenerator.cpp +++ b/Source/AzSpeechEditor/Private/SAzSpeechAudioGenerator.cpp @@ -335,4 +335,4 @@ void SAzSpeechAudioGenerator::OnFileInfoCommited(const FText& InText, FString& M Member = FPaths::MakeValidFileName(NewValue); InputRef->SetText(FText::FromString(Member)); -} +} \ No newline at end of file diff --git a/Source/AzSpeechEditor/Private/SAzSpeechAudioGenerator.h b/Source/AzSpeechEditor/Private/SAzSpeechAudioGenerator.h index ef20ef35..93384c7d 100644 --- a/Source/AzSpeechEditor/Private/SAzSpeechAudioGenerator.h +++ b/Source/AzSpeechEditor/Private/SAzSpeechAudioGenerator.h @@ -17,7 +17,7 @@ class UAzSpeechPropertiesGetter : public UObject public: explicit UAzSpeechPropertiesGetter(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get()); - + FAvailableVoicesUpdated OnAvailableVoicesUpdated; FAudioDataGenerated OnAudioDataGenerated; diff --git a/Source/ThirdParty/AzureWrapper/AzureWrapper.Build.cs b/Source/ThirdParty/AzureWrapper/AzureWrapper.Build.cs index 0d0a8ebf..8a63b19a 100644 --- a/Source/ThirdParty/AzureWrapper/AzureWrapper.Build.cs +++ b/Source/ThirdParty/AzureWrapper/AzureWrapper.Build.cs @@ -255,4 +255,4 @@ public AzureWrapper(ReadOnlyTargetRules Target) : base(Target) AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(ModuleDirectory, "AzSpeech_UPL_Android.xml")); } } -} +} \ No newline at end of file